alpha

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2021 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2021 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2021 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2021 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package alpha defines operations in the declarative SDK.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const AzureClusterMaxPage = -1
View Source
const AzureNodePoolMaxPage = -1
View Source
const ClientMaxPage = -1
View Source
const ClusterMaxPage = -1
View Source
const NodePoolMaxPage = -1

Variables

View Source
var YAML_azure_client = []byte("info:\n  title: ContainerAzure/Client\n  description: AzureClient resources hold client authentication information needed\n    by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n    an AzureCluster is created, an AzureClient resource needs to be provided and all\n    operations on Azure resources associated to that cluster will authenticate to\n    Azure services using the given client.AzureClient resources are immutable and\n    cannot be modified upon creation.Each AzureClient resource is bound to a single\n    Azure Active Directory Application and tenant.\n  x-dcl-struct-name: AzureClient\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API reference\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n  x-dcl-guides:\n  - text: Multicloud overview\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n  get:\n    description: The function used to get information about a Client\n    parameters:\n    - name: Client\n      required: true\n      description: A full instance of a Client\n  apply:\n    description: The function used to apply information about a Client\n    parameters:\n    - name: Client\n      required: true\n      description: A full instance of a Client\n  delete:\n    description: The function used to delete a Client\n    parameters:\n    - name: Client\n      required: true\n      description: A full instance of a Client\n  deleteAll:\n    description: The function used to delete all Client\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Client\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Client:\n      title: AzureClient\n      x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - tenantId\n      - applicationId\n      - project\n      - location\n      properties:\n        applicationId:\n          type: string\n          x-dcl-go-name: ApplicationId\n          description: The Azure Active Directory Application ID.\n          x-kubernetes-immutable: true\n        certificate:\n          type: string\n          x-dcl-go-name: Certificate\n          readOnly: true\n          description: Output only. The PEM encoded x509 certificate.\n          x-kubernetes-immutable: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this resource was created.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of this resource.\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        tenantId:\n          type: string\n          x-dcl-go-name: TenantId\n          description: The Azure Active Directory Tenant ID.\n          x-kubernetes-immutable: true\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. A globally unique identifier for the client.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/azure_client.yaml

View Source
var YAML_azure_cluster = []byte("info:\n  title: ContainerAzure/AzureCluster\n  description: DCL Specification for the ContainerAzure AzureCluster resource\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a AzureCluster\n    parameters:\n    - name: AzureCluster\n      required: true\n      description: A full instance of a AzureCluster\n  apply:\n    description: The function used to apply information about a AzureCluster\n    parameters:\n    - name: AzureCluster\n      required: true\n      description: A full instance of a AzureCluster\n  delete:\n    description: The function used to delete a AzureCluster\n    parameters:\n    - name: AzureCluster\n      required: true\n      description: A full instance of a AzureCluster\n  deleteAll:\n    description: The function used to delete all AzureCluster\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many AzureCluster\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    AzureCluster:\n      title: AzureCluster\n      x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n      x-dcl-parent-container: project\n      type: object\n      required:\n      - name\n      - azureRegion\n      - resourceGroupId\n      - azureClient\n      - networking\n      - controlPlane\n      - authorization\n      - project\n      - location\n      properties:\n        annotations:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Annotations\n          description: 'Optional. Annotations on the cluster. This field has the same\n            restrictions as Kubernetes annotations. The total size of all keys and\n            values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n            and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n            Name must be 63 characters or less, begin and end with alphanumerics,\n            with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n          x-kubernetes-immutable: true\n        authorization:\n          type: object\n          x-dcl-go-name: Authorization\n          x-dcl-go-type: AzureClusterAuthorization\n          description: Required. Configuration related to the cluster RBAC settings.\n          x-kubernetes-immutable: true\n          required:\n          - adminUsers\n          properties:\n            adminUsers:\n              type: array\n              x-dcl-go-name: AdminUsers\n              description: Required. Users that can perform operations as a cluster\n                admin. A new ClusterRoleBinding will be created to grant the cluster-admin\n                ClusterRole to the users. At most one user can be specified. For more\n                info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: AzureClusterAuthorizationAdminUsers\n                required:\n                - username\n                properties:\n                  username:\n                    type: string\n                    x-dcl-go-name: Username\n                    description: Required. The name of the user, e.g. `[email protected]`.\n                    x-kubernetes-immutable: true\n        azureClient:\n          type: string\n          x-dcl-go-name: AzureClient\n          description: Required. Name of the AzureClient. The `AzureClient` resource\n            must reside on the same GCP project and region as the `AzureCluster`.\n            `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`.\n            See Resource Names (https:cloud.google.com/apis/design/resource_names)\n            for more details on Google Cloud resource names.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Gkemulticloud/AzureClient\n            field: name\n        azureRegion:\n          type: string\n          x-dcl-go-name: AzureRegion\n          description: Required. The Azure region where the cluster runs. Each Google\n            Cloud region supports a subset of nearby Azure regions. You can call to\n            list all supported Azure regions within a given Google Cloud region.\n          x-kubernetes-immutable: true\n        controlPlane:\n          type: object\n          x-dcl-go-name: ControlPlane\n          x-dcl-go-type: AzureClusterControlPlane\n          description: Required. Configuration related to the cluster control plane.\n          x-kubernetes-immutable: true\n          required:\n          - version\n          - subnetId\n          - sshConfig\n          properties:\n            databaseEncryption:\n              type: object\n              x-dcl-go-name: DatabaseEncryption\n              x-dcl-go-type: AzureClusterControlPlaneDatabaseEncryption\n              description: Optional. Configuration related to application-layer secrets\n                encryption.\n              x-kubernetes-immutable: true\n              required:\n              - resourceGroupId\n              - kmsKeyIdentifier\n              properties:\n                kmsKeyIdentifier:\n                  type: string\n                  x-dcl-go-name: KmsKeyIdentifier\n                  description: 'Required. The URL the of the Azure Key Vault key (with\n                    its version) to use to encrypt / decrypt data. For example: `https://vault-id.vault.azure.net/keys/key-id/<version>`'\n                  x-kubernetes-immutable: true\n                resourceGroupId:\n                  type: string\n                  x-dcl-go-name: ResourceGroupId\n                  description: 'Required. The ARM ID the of the Azure resource group\n                    containing the Azure Key Vault key. Example: `/subscriptions//resourceGroups/*`'\n                  x-kubernetes-immutable: true\n            mainVolume:\n              type: object\n              x-dcl-go-name: MainVolume\n              x-dcl-go-type: AzureClusterControlPlaneMainVolume\n              description: Optional. Configuration related to the main volume provisioned\n                for each control plane replica. The main volume is in charge of storing\n                all of the cluster's etcd state. When unspecified, it defaults to\n                a 8-GiB Azure Disk.\n              x-kubernetes-immutable: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n            rootVolume:\n              type: object\n              x-dcl-go-name: RootVolume\n              x-dcl-go-type: AzureClusterControlPlaneRootVolume\n              description: Optional. Configuration related to the root volume provisioned\n                for each control plane replica. When unspecified, it defaults to 32-GiB\n                Azure Disk.\n              x-kubernetes-immutable: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: AzureClusterControlPlaneSshConfig\n              description: Required. SSH configuration for how to access the underlying\n                control plane machines.\n              x-kubernetes-immutable: true\n              required:\n              - authorizedKey\n              properties:\n                authorizedKey:\n                  type: string\n                  x-dcl-go-name: AuthorizedKey\n                  description: Required. The SSH public key data for VMs managed by\n                    Anthos. This accepts the authorized_keys file format used in OpenSSH\n                    according to the sshd(8) manual page.\n                  x-kubernetes-immutable: true\n            subnetId:\n              type: string\n              x-dcl-go-name: SubnetId\n              description: 'Required. The ARM ID of the subnet where the control plane\n                VMs are deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n              x-kubernetes-immutable: true\n            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. A set of tags to apply to all underlying control\n                plane Azure resources.\n              x-kubernetes-immutable: true\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Required. The Kubernetes version to run on control plane\n                replicas (e.g. `1.19.10-gke.1000`). You can list all supported versions\n                on a given Google Cloud region by calling .\n              x-kubernetes-immutable: true\n            vmSize:\n              type: string\n              x-dcl-go-name: VmSize\n              description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n                For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n                When unspecified, it defaults to `Standard_DS2_v2`.'\n              x-kubernetes-immutable: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this cluster was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A human readable description of this cluster. Cannot\n            be longer than 255 UTF-8 encoded bytes.\n          x-kubernetes-immutable: true\n        endpoint:\n          type: string\n          x-dcl-go-name: Endpoint\n          readOnly: true\n          description: Output only. The endpoint of the cluster's API server.\n          x-kubernetes-immutable: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Allows clients to perform consistent read-modify-writes through\n            optimistic concurrency control. May be sent on update and delete requests\n            to ensure the client has an up-to-date value before proceeding.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of this resource. Cluster names are formatted as `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`.\n            See (https://cloud.google.com/apis/design/resource_names) for more details\n            on GCP resource names.\n          x-kubernetes-immutable: true\n        networking:\n          type: object\n          x-dcl-go-name: Networking\n          x-dcl-go-type: AzureClusterNetworking\n          description: Required. Cluster-wide networking configuration.\n          x-kubernetes-immutable: true\n          required:\n          - virtualNetworkId\n          - podAddressCidrBlocks\n          - serviceAddressCidrBlocks\n          properties:\n            podAddressCidrBlocks:\n              type: array\n              x-dcl-go-name: PodAddressCidrBlocks\n              description: Required. The IP address range of the pods in this cluster,\n                in CIDR notation (e.g. `10.96.0.0/14`). All pods in the cluster get\n                assigned a unique RFC1918 IPv4 address from these ranges. Only a single\n                range is supported. This field cannot be changed after creation.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            serviceAddressCidrBlocks:\n              type: array\n              x-dcl-go-name: ServiceAddressCidrBlocks\n              description: Required. The IP address range for services in this cluster,\n                in CIDR notation (e.g. `10.96.0.0/14`). All services in the cluster\n                get assigned a unique RFC1918 IPv4 address from these ranges. Only\n                a single range is supported. This field cannot be changed after creating\n                a cluster.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            virtualNetworkId:\n              type: string\n              x-dcl-go-name: VirtualNetworkId\n              description: 'Required. The Azure Resource Manager (ARM) ID of the VNet\n                associated with your cluster. All components in the cluster (i.e.\n                control plane and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n                This field cannot be changed after creation.'\n              x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        reconciling:\n          type: boolean\n          x-dcl-go-name: Reconciling\n          readOnly: true\n          description: Output only. If set, there are currently changes in flight\n            to the cluster.\n          x-kubernetes-immutable: true\n        resourceGroupId:\n          type: string\n          x-dcl-go-name: ResourceGroupId\n          description: 'Required. The ARM ID of the resource group where the cluster\n            resources are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: AzureClusterStateEnum\n          readOnly: true\n          description: 'Output only. The current state of the cluster. Possible values:\n            STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n            DEGRADED'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - PROVISIONING\n          - RUNNING\n          - RECONCILING\n          - STOPPING\n          - ERROR\n          - DEGRADED\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. A globally unique identifier for the cluster.\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The time at which this cluster was last updated.\n          x-kubernetes-immutable: true\n        workloadIdentityConfig:\n          type: object\n          x-dcl-go-name: WorkloadIdentityConfig\n          x-dcl-go-type: AzureClusterWorkloadIdentityConfig\n          readOnly: true\n          description: Output only. Workload Identity settings.\n          x-kubernetes-immutable: true\n          properties:\n            identityProvider:\n              type: string\n              x-dcl-go-name: IdentityProvider\n              description: The ID of the OIDC Identity Provider (IdP) associated to\n                the Workload Identity Pool.\n              x-kubernetes-immutable: true\n            issuerUri:\n              type: string\n              x-dcl-go-name: IssuerUri\n              description: The OIDC issuer URL for this cluster.\n              x-kubernetes-immutable: true\n            workloadPool:\n              type: string\n              x-dcl-go-name: WorkloadPool\n              description: The Workload Identity Pool associated to the cluster.\n              x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/azure_cluster.yaml

View Source
var YAML_azure_node_pool = []byte("info:\n  title: ContainerAzure/AzureNodePool\n  description: DCL Specification for the ContainerAzure AzureNodePool resource\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a AzureNodePool\n    parameters:\n    - name: AzureNodePool\n      required: true\n      description: A full instance of a AzureNodePool\n  apply:\n    description: The function used to apply information about a AzureNodePool\n    parameters:\n    - name: AzureNodePool\n      required: true\n      description: A full instance of a AzureNodePool\n  delete:\n    description: The function used to delete a AzureNodePool\n    parameters:\n    - name: AzureNodePool\n      required: true\n      description: A full instance of a AzureNodePool\n  deleteAll:\n    description: The function used to delete all AzureNodePool\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: azurecluster\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many AzureNodePool\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: azurecluster\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    AzureNodePool:\n      title: AzureNodePool\n      x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{azure_cluster}}/azureNodePools/{{name}}\n      x-dcl-parent-container: project\n      type: object\n      required:\n      - name\n      - version\n      - config\n      - subnetId\n      - autoscaling\n      - maxPodsConstraint\n      - project\n      - location\n      - azureCluster\n      properties:\n        annotations:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Annotations\n          description: 'Optional. Annotations on the node pool. This field has the\n            same restrictions as Kubernetes annotations. The total size of all keys\n            and values combined is limited to 256k. Keys can have 2 segments: prefix\n            (optional) and name (required), separated by a slash (/). Prefix must\n            be a DNS subdomain. Name must be 63 characters or less, begin and end\n            with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n            between.'\n          x-kubernetes-immutable: true\n        autoscaling:\n          type: object\n          x-dcl-go-name: Autoscaling\n          x-dcl-go-type: AzureNodePoolAutoscaling\n          description: Required. Autoscaler configuration for this node pool.\n          x-kubernetes-immutable: true\n          required:\n          - minNodeCount\n          - maxNodeCount\n          properties:\n            maxNodeCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MaxNodeCount\n              description: Required. Maximum number of nodes in the node pool. Must\n                be >= min_node_count.\n              x-kubernetes-immutable: true\n            minNodeCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MinNodeCount\n              description: Required. Minimum number of nodes in the node pool. Must\n                be >= 1 and <= max_node_count.\n              x-kubernetes-immutable: true\n        azureAvailabilityZone:\n          type: string\n          x-dcl-go-name: AzureAvailabilityZone\n          description: Optional. The Azure availability zone of the nodes in this\n            nodepool. When unspecified, it defaults to `1`.\n          x-kubernetes-immutable: true\n        azureCluster:\n          type: string\n          x-dcl-go-name: AzureCluster\n          description: The azureCluster for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Gkemulticloud/AzureCluster\n            field: name\n        config:\n          type: object\n          x-dcl-go-name: Config\n          x-dcl-go-type: AzureNodePoolConfig\n          description: Required. The node configuration of the node pool.\n          x-kubernetes-immutable: true\n          required:\n          - sshConfig\n          properties:\n            rootVolume:\n              type: object\n              x-dcl-go-name: RootVolume\n              x-dcl-go-type: AzureNodePoolConfigRootVolume\n              description: Optional. Configuration related to the root volume provisioned\n                for each node pool machine. When unspecified, it defaults to a 32-GiB\n                Azure Disk.\n              x-kubernetes-immutable: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: AzureNodePoolConfigSshConfig\n              description: Required. SSH configuration for how to access the node\n                pool machines.\n              x-kubernetes-immutable: true\n              required:\n              - authorizedKey\n              properties:\n                authorizedKey:\n                  type: string\n                  x-dcl-go-name: AuthorizedKey\n                  description: Required. The SSH public key data for VMs managed by\n                    Anthos. This accepts the authorized_keys file format used in OpenSSH\n                    according to the sshd(8) manual page.\n                  x-kubernetes-immutable: true\n            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. A set of tags to apply to all underlying Azure\n                resources for this node pool. This currently only includes Virtual\n                Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n                spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n                Values can be up to 255 Unicode characters.\n              x-kubernetes-immutable: true\n            vmSize:\n              type: string\n              x-dcl-go-name: VmSize\n              description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n                See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n                When unspecified, it defaults to `Standard_DS2_v2`.'\n              x-kubernetes-immutable: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this node pool was created.\n          x-kubernetes-immutable: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Allows clients to perform consistent read-modify-writes through\n            optimistic concurrency control. May be sent on update and delete requests\n            to ensure the client has an up-to-date value before proceeding.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        maxPodsConstraint:\n          type: object\n          x-dcl-go-name: MaxPodsConstraint\n          x-dcl-go-type: AzureNodePoolMaxPodsConstraint\n          description: Required. The constraint on the maximum number of pods that\n            can be run simultaneously on a node in the node pool.\n          x-kubernetes-immutable: true\n          required:\n          - maxPodsPerNode\n          properties:\n            maxPodsPerNode:\n              type: integer\n              format: int64\n              x-dcl-go-name: MaxPodsPerNode\n              description: Required. The maximum number of pods to schedule on a single\n                node.\n              x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of this resource. Node pool names are formatted as\n            `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.\n            For more details on Google Cloud resource names, see Resource Names (https://cloud.google.com/apis/design/resource_names)\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        reconciling:\n          type: boolean\n          x-dcl-go-name: Reconciling\n          readOnly: true\n          description: Output only. If set, there are currently pending changes to\n            the node pool.\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: AzureNodePoolStateEnum\n          readOnly: true\n          description: 'Output only. The current state of the node pool. Possible\n            values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n            ERROR, DEGRADED'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - PROVISIONING\n          - RUNNING\n          - RECONCILING\n          - STOPPING\n          - ERROR\n          - DEGRADED\n        subnetId:\n          type: string\n          x-dcl-go-name: SubnetId\n          description: Required. The ARM ID of the subnet where the node pool VMs\n            run. Make sure it's a subnet under the virtual network in the cluster\n            configuration.\n          x-kubernetes-immutable: true\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. A globally unique identifier for the node pool.\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The time at which this node pool was last updated.\n          x-kubernetes-immutable: true\n        version:\n          type: string\n          x-dcl-go-name: Version\n          description: Required. The Kubernetes version (e.g. `1.19.10-gke.1000`)\n            running on this node pool.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/azure_node_pool.yaml

View Source
var YAML_cluster = []byte("info:\n  title: ContainerAzure/Cluster\n  description: An Anthos cluster running on Azure.\n  x-dcl-struct-name: Cluster\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API reference\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n  x-dcl-guides:\n  - text: Multicloud overview\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n  get:\n    description: The function used to get information about a Cluster\n    parameters:\n    - name: Cluster\n      required: true\n      description: A full instance of a Cluster\n  apply:\n    description: The function used to apply information about a Cluster\n    parameters:\n    - name: Cluster\n      required: true\n      description: A full instance of a Cluster\n  delete:\n    description: The function used to delete a Cluster\n    parameters:\n    - name: Cluster\n      required: true\n      description: A full instance of a Cluster\n  deleteAll:\n    description: The function used to delete all Cluster\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Cluster\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Cluster:\n      title: Cluster\n      x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - azureRegion\n      - resourceGroupId\n      - client\n      - networking\n      - controlPlane\n      - authorization\n      - project\n      - location\n      - fleet\n      properties:\n        annotations:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Annotations\n          description: 'Optional. Annotations on the cluster. This field has the same\n            restrictions as Kubernetes annotations. The total size of all keys and\n            values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n            and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n            Name must be 63 characters or less, begin and end with alphanumerics,\n            with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n          x-kubernetes-immutable: true\n        authorization:\n          type: object\n          x-dcl-go-name: Authorization\n          x-dcl-go-type: ClusterAuthorization\n          description: Configuration related to the cluster RBAC settings.\n          required:\n          - adminUsers\n          properties:\n            adminUsers:\n              type: array\n              x-dcl-go-name: AdminUsers\n              description: Users that can perform operations as a cluster admin. A\n                new ClusterRoleBinding will be created to grant the cluster-admin\n                ClusterRole to the users. At most one user can be specified. For more\n                info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: ClusterAuthorizationAdminUsers\n                required:\n                - username\n                properties:\n                  username:\n                    type: string\n                    x-dcl-go-name: Username\n                    description: The name of the user, e.g. `[email protected]`.\n        azureRegion:\n          type: string\n          x-dcl-go-name: AzureRegion\n          description: The Azure region where the cluster runs. Each Google Cloud\n            region supports a subset of nearby Azure regions. You can call to list\n            all supported Azure regions within a given Google Cloud region.\n          x-kubernetes-immutable: true\n        client:\n          type: string\n          x-dcl-go-name: Client\n          description: Name of the AzureClient. The `AzureClient` resource must reside\n            on the same GCP project and region as the `AzureCluster`. `AzureClient`\n            names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`.\n            See Resource Names (https:cloud.google.com/apis/design/resource_names)\n            for more details on Google Cloud resource names.\n          x-dcl-references:\n          - resource: ContainerAzure/AzureClient\n            field: name\n        controlPlane:\n          type: object\n          x-dcl-go-name: ControlPlane\n          x-dcl-go-type: ClusterControlPlane\n          description: Configuration related to the cluster control plane.\n          required:\n          - version\n          - subnetId\n          - sshConfig\n          properties:\n            databaseEncryption:\n              type: object\n              x-dcl-go-name: DatabaseEncryption\n              x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n              description: Optional. Configuration related to application-layer secrets\n                encryption.\n              x-kubernetes-immutable: true\n              required:\n              - keyId\n              properties:\n                keyId:\n                  type: string\n                  x-dcl-go-name: KeyId\n                  description: 'The ARM ID of the Azure Key Vault key to encrypt /\n                    decrypt data. For example: `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>`\n                    Encryption will always take the latest version of the key and\n                    hence specific version is not supported.'\n                  x-kubernetes-immutable: true\n            mainVolume:\n              type: object\n              x-dcl-go-name: MainVolume\n              x-dcl-go-type: ClusterControlPlaneMainVolume\n              description: Optional. Configuration related to the main volume provisioned\n                for each control plane replica. The main volume is in charge of storing\n                all of the cluster's etcd state. When unspecified, it defaults to\n                a 8-GiB Azure Disk.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n            proxyConfig:\n              type: object\n              x-dcl-go-name: ProxyConfig\n              x-dcl-go-type: ClusterControlPlaneProxyConfig\n              description: Proxy configuration for outbound HTTP(S) traffic.\n              x-kubernetes-immutable: true\n              required:\n              - resourceGroupId\n              - secretId\n              properties:\n                resourceGroupId:\n                  type: string\n                  x-dcl-go-name: ResourceGroupId\n                  description: The ARM ID the of the resource group containing proxy\n                    keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`\n                  x-kubernetes-immutable: true\n                secretId:\n                  type: string\n                  x-dcl-go-name: SecretId\n                  description: The URL the of the proxy setting secret with its version.\n                    Secret ids are formatted as `https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.\n                  x-kubernetes-immutable: true\n            replicaPlacements:\n              type: array\n              x-dcl-go-name: ReplicaPlacements\n              description: Configuration for where to place the control plane replicas.\n                Up to three replica placement instances can be specified. If replica_placements\n                is set, the replica placement instances will be applied to the three\n                control plane replicas as evenly as possible.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n                required:\n                - subnetId\n                - azureAvailabilityZone\n                properties:\n                  azureAvailabilityZone:\n                    type: string\n                    x-dcl-go-name: AzureAvailabilityZone\n                    description: For a given replica, the Azure availability zone\n                      where to provision the control plane VM and the ETCD disk.\n                    x-kubernetes-immutable: true\n                  subnetId:\n                    type: string\n                    x-dcl-go-name: SubnetId\n                    description: For a given replica, the ARM ID of the subnet where\n                      the control plane VM is deployed. Make sure it's a subnet under\n                      the virtual network in the cluster configuration.\n                    x-kubernetes-immutable: true\n            rootVolume:\n              type: object\n              x-dcl-go-name: RootVolume\n              x-dcl-go-type: ClusterControlPlaneRootVolume\n              description: Optional. Configuration related to the root volume provisioned\n                for each control plane replica. When unspecified, it defaults to 32-GiB\n                Azure Disk.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: ClusterControlPlaneSshConfig\n              description: SSH configuration for how to access the underlying control\n                plane machines.\n              x-kubernetes-immutable: true\n              required:\n              - authorizedKey\n              properties:\n                authorizedKey:\n                  type: string\n                  x-dcl-go-name: AuthorizedKey\n                  description: The SSH public key data for VMs managed by Anthos.\n                    This accepts the authorized_keys file format used in OpenSSH according\n                    to the sshd(8) manual page.\n                  x-kubernetes-immutable: true\n            subnetId:\n              type: string\n              x-dcl-go-name: SubnetId\n              description: 'The ARM ID of the subnet where the control plane VMs are\n                deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n              x-kubernetes-immutable: true\n            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. A set of tags to apply to all underlying control\n                plane Azure resources.\n              x-kubernetes-immutable: true\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: The Kubernetes version to run on control plane replicas\n                (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n                a given Google Cloud region by calling GetAzureServerConfig.\n            vmSize:\n              type: string\n              x-dcl-go-name: VmSize\n              description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n                For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n                When unspecified, it defaults to `Standard_DS2_v2`.'\n              x-dcl-server-default: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this cluster was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A human readable description of this cluster. Cannot\n            be longer than 255 UTF-8 encoded bytes.\n        endpoint:\n          type: string\n          x-dcl-go-name: Endpoint\n          readOnly: true\n          description: Output only. The endpoint of the cluster's API server.\n          x-kubernetes-immutable: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Allows clients to perform consistent read-modify-writes through\n            optimistic concurrency control. May be sent on update and delete requests\n            to ensure the client has an up-to-date value before proceeding.\n          x-kubernetes-immutable: true\n        fleet:\n          type: object\n          x-dcl-go-name: Fleet\n          x-dcl-go-type: ClusterFleet\n          description: Fleet configuration.\n          x-kubernetes-immutable: true\n          required:\n          - project\n          properties:\n            membership:\n              type: string\n              x-dcl-go-name: Membership\n              readOnly: true\n              description: The name of the managed Hub Membership resource associated\n                to this cluster. Membership names are formatted as projects/<project-number>/locations/global/membership/<cluster-id>.\n              x-kubernetes-immutable: true\n            project:\n              type: string\n              x-dcl-go-name: Project\n              description: The number of the Fleet host project where this cluster\n                will be registered.\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Cloudresourcemanager/Project\n                field: name\n                parent: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        loggingConfig:\n          type: object\n          x-dcl-go-name: LoggingConfig\n          x-dcl-go-type: ClusterLoggingConfig\n          description: Logging configuration.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          properties:\n            componentConfig:\n              type: object\n              x-dcl-go-name: ComponentConfig\n              x-dcl-go-type: ClusterLoggingConfigComponentConfig\n              description: Configuration of the logging components.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                enableComponents:\n                  type: array\n                  x-dcl-go-name: EnableComponents\n                  description: Components of the logging configuration to be enabled.\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n                    enum:\n                    - COMPONENT_UNSPECIFIED\n                    - SYSTEM_COMPONENTS\n                    - WORKLOADS\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of this resource.\n          x-kubernetes-immutable: true\n        networking:\n          type: object\n          x-dcl-go-name: Networking\n          x-dcl-go-type: ClusterNetworking\n          description: Cluster-wide networking configuration.\n          x-kubernetes-immutable: true\n          required:\n          - virtualNetworkId\n          - podAddressCidrBlocks\n          - serviceAddressCidrBlocks\n          properties:\n            podAddressCidrBlocks:\n              type: array\n              x-dcl-go-name: PodAddressCidrBlocks\n              description: The IP address range of the pods in this cluster, in CIDR\n                notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n                a unique RFC1918 IPv4 address from these ranges. Only a single range\n                is supported. This field cannot be changed after creation.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            serviceAddressCidrBlocks:\n              type: array\n              x-dcl-go-name: ServiceAddressCidrBlocks\n              description: The IP address range for services in this cluster, in CIDR\n                notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n                a unique RFC1918 IPv4 address from these ranges. Only a single range\n                is supported. This field cannot be changed after creating a cluster.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            virtualNetworkId:\n              type: string\n              x-dcl-go-name: VirtualNetworkId\n              description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n                with your cluster. All components in the cluster (i.e. control plane\n                and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n                This field cannot be changed after creation.'\n              x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        reconciling:\n          type: boolean\n          x-dcl-go-name: Reconciling\n          readOnly: true\n          description: Output only. If set, there are currently changes in flight\n            to the cluster.\n          x-kubernetes-immutable: true\n        resourceGroupId:\n          type: string\n          x-dcl-go-name: ResourceGroupId\n          description: 'The ARM ID of the resource group where the cluster resources\n            are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: ClusterStateEnum\n          readOnly: true\n          description: 'Output only. The current state of the cluster. Possible values:\n            STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n            DEGRADED'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - PROVISIONING\n          - RUNNING\n          - RECONCILING\n          - STOPPING\n          - ERROR\n          - DEGRADED\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. A globally unique identifier for the cluster.\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The time at which this cluster was last updated.\n          x-kubernetes-immutable: true\n        workloadIdentityConfig:\n          type: object\n          x-dcl-go-name: WorkloadIdentityConfig\n          x-dcl-go-type: ClusterWorkloadIdentityConfig\n          readOnly: true\n          description: Output only. Workload Identity settings.\n          x-kubernetes-immutable: true\n          properties:\n            identityProvider:\n              type: string\n              x-dcl-go-name: IdentityProvider\n              description: The ID of the OIDC Identity Provider (IdP) associated to\n                the Workload Identity Pool.\n              x-kubernetes-immutable: true\n            issuerUri:\n              type: string\n              x-dcl-go-name: IssuerUri\n              description: The OIDC issuer URL for this cluster.\n              x-kubernetes-immutable: true\n            workloadPool:\n              type: string\n              x-dcl-go-name: WorkloadPool\n              description: The Workload Identity Pool associated to the cluster.\n              x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/cluster.yaml

View Source
var YAML_node_pool = []byte("info:\n  title: ContainerAzure/NodePool\n  description: An Anthos node pool running on Azure.\n  x-dcl-struct-name: NodePool\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API reference\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n  x-dcl-guides:\n  - text: Multicloud overview\n    url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n  get:\n    description: The function used to get information about a NodePool\n    parameters:\n    - name: NodePool\n      required: true\n      description: A full instance of a NodePool\n  apply:\n    description: The function used to apply information about a NodePool\n    parameters:\n    - name: NodePool\n      required: true\n      description: A full instance of a NodePool\n  delete:\n    description: The function used to delete a NodePool\n    parameters:\n    - name: NodePool\n      required: true\n      description: A full instance of a NodePool\n  deleteAll:\n    description: The function used to delete all NodePool\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: cluster\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many NodePool\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: cluster\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    NodePool:\n      title: NodePool\n      x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - version\n      - config\n      - subnetId\n      - autoscaling\n      - maxPodsConstraint\n      - project\n      - location\n      - cluster\n      properties:\n        annotations:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Annotations\n          description: 'Optional. Annotations on the node pool. This field has the\n            same restrictions as Kubernetes annotations. The total size of all keys\n            and values combined is limited to 256k. Keys can have 2 segments: prefix\n            (optional) and name (required), separated by a slash (/). Prefix must\n            be a DNS subdomain. Name must be 63 characters or less, begin and end\n            with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n            between.'\n        autoscaling:\n          type: object\n          x-dcl-go-name: Autoscaling\n          x-dcl-go-type: NodePoolAutoscaling\n          description: Autoscaler configuration for this node pool.\n          x-kubernetes-immutable: true\n          required:\n          - minNodeCount\n          - maxNodeCount\n          properties:\n            maxNodeCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MaxNodeCount\n              description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n              x-kubernetes-immutable: true\n            minNodeCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MinNodeCount\n              description: Minimum number of nodes in the node pool. Must be >= 1\n                and <= max_node_count.\n              x-kubernetes-immutable: true\n        azureAvailabilityZone:\n          type: string\n          x-dcl-go-name: AzureAvailabilityZone\n          description: Optional. The Azure availability zone of the nodes in this\n            nodepool. When unspecified, it defaults to `1`.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        cluster:\n          type: string\n          x-dcl-go-name: Cluster\n          description: The azureCluster for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Gkemulticloud/Cluster\n            field: name\n            parent: true\n        config:\n          type: object\n          x-dcl-go-name: Config\n          x-dcl-go-type: NodePoolConfig\n          description: The node configuration of the node pool.\n          x-kubernetes-immutable: true\n          required:\n          - sshConfig\n          properties:\n            imageType:\n              type: string\n              x-dcl-go-name: ImageType\n              description: The OS image type to use on node pool instances.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n            proxyConfig:\n              type: object\n              x-dcl-go-name: ProxyConfig\n              x-dcl-go-type: NodePoolConfigProxyConfig\n              description: Proxy configuration for outbound HTTP(S) traffic.\n              x-kubernetes-immutable: true\n              required:\n              - resourceGroupId\n              - secretId\n              properties:\n                resourceGroupId:\n                  type: string\n                  x-dcl-go-name: ResourceGroupId\n                  description: The ARM ID the of the resource group containing proxy\n                    keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`\n                  x-kubernetes-immutable: true\n                secretId:\n                  type: string\n                  x-dcl-go-name: SecretId\n                  description: The URL the of the proxy setting secret with its version.\n                    Secret ids are formatted as `https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.\n                  x-kubernetes-immutable: true\n            rootVolume:\n              type: object\n              x-dcl-go-name: RootVolume\n              x-dcl-go-type: NodePoolConfigRootVolume\n              description: Optional. Configuration related to the root volume provisioned\n                for each node pool machine. When unspecified, it defaults to a 32-GiB\n                Azure Disk.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the disk, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: NodePoolConfigSshConfig\n              description: SSH configuration for how to access the node pool machines.\n              x-kubernetes-immutable: true\n              required:\n              - authorizedKey\n              properties:\n                authorizedKey:\n                  type: string\n                  x-dcl-go-name: AuthorizedKey\n                  description: The SSH public key data for VMs managed by Anthos.\n                    This accepts the authorized_keys file format used in OpenSSH according\n                    to the sshd(8) manual page.\n                  x-kubernetes-immutable: true\n            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. A set of tags to apply to all underlying Azure\n                resources for this node pool. This currently only includes Virtual\n                Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n                spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n                Values can be up to 255 Unicode characters.\n              x-kubernetes-immutable: true\n            vmSize:\n              type: string\n              x-dcl-go-name: VmSize\n              description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n                See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n                When unspecified, it defaults to `Standard_DS2_v2`.'\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this node pool was created.\n          x-kubernetes-immutable: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Allows clients to perform consistent read-modify-writes through\n            optimistic concurrency control. May be sent on update and delete requests\n            to ensure the client has an up-to-date value before proceeding.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        maxPodsConstraint:\n          type: object\n          x-dcl-go-name: MaxPodsConstraint\n          x-dcl-go-type: NodePoolMaxPodsConstraint\n          description: The constraint on the maximum number of pods that can be run\n            simultaneously on a node in the node pool.\n          x-kubernetes-immutable: true\n          required:\n          - maxPodsPerNode\n          properties:\n            maxPodsPerNode:\n              type: integer\n              format: int64\n              x-dcl-go-name: MaxPodsPerNode\n              description: The maximum number of pods to schedule on a single node.\n              x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of this resource.\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        reconciling:\n          type: boolean\n          x-dcl-go-name: Reconciling\n          readOnly: true\n          description: Output only. If set, there are currently pending changes to\n            the node pool.\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: NodePoolStateEnum\n          readOnly: true\n          description: 'Output only. The current state of the node pool. Possible\n            values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n            ERROR, DEGRADED'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - PROVISIONING\n          - RUNNING\n          - RECONCILING\n          - STOPPING\n          - ERROR\n          - DEGRADED\n        subnetId:\n          type: string\n          x-dcl-go-name: SubnetId\n          description: The ARM ID of the subnet where the node pool VMs run. Make\n            sure it's a subnet under the virtual network in the cluster configuration.\n          x-kubernetes-immutable: true\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. A globally unique identifier for the node pool.\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The time at which this node pool was last updated.\n          x-kubernetes-immutable: true\n        version:\n          type: string\n          x-dcl-go-name: Version\n          description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n            this node pool.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/alpha/node_pool.yaml

Functions

This section is empty.

Types

type AzureClient

type AzureClient struct {
	Name          *string `json:"name"`
	TenantId      *string `json:"tenantId"`
	ApplicationId *string `json:"applicationId"`
	Certificate   *string `json:"certificate"`
	Uid           *string `json:"uid"`
	CreateTime    *string `json:"createTime"`
	Project       *string `json:"project"`
	Location      *string `json:"location"`
}

func (*AzureClient) Describe

func (r *AzureClient) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*AzureClient) ID

func (r *AzureClient) ID() (string, error)

func (*AzureClient) String

func (r *AzureClient) String() string

type AzureCluster

type AzureCluster struct {
	Name                   *string                             `json:"name"`
	Description            *string                             `json:"description"`
	AzureRegion            *string                             `json:"azureRegion"`
	ResourceGroupId        *string                             `json:"resourceGroupId"`
	AzureClient            *string                             `json:"azureClient"`
	Networking             *AzureClusterNetworking             `json:"networking"`
	ControlPlane           *AzureClusterControlPlane           `json:"controlPlane"`
	Authorization          *AzureClusterAuthorization          `json:"authorization"`
	State                  *AzureClusterStateEnum              `json:"state"`
	Endpoint               *string                             `json:"endpoint"`
	Uid                    *string                             `json:"uid"`
	Reconciling            *bool                               `json:"reconciling"`
	CreateTime             *string                             `json:"createTime"`
	UpdateTime             *string                             `json:"updateTime"`
	Etag                   *string                             `json:"etag"`
	Annotations            map[string]string                   `json:"annotations"`
	WorkloadIdentityConfig *AzureClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"`
	Project                *string                             `json:"project"`
	Location               *string                             `json:"location"`
}

func (*AzureCluster) Describe

func (r *AzureCluster) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*AzureCluster) ID

func (r *AzureCluster) ID() (string, error)

func (*AzureCluster) String

func (r *AzureCluster) String() string

type AzureClusterAuthorization

type AzureClusterAuthorization struct {
	AdminUsers []AzureClusterAuthorizationAdminUsers `json:"adminUsers"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterAuthorization *AzureClusterAuthorization = &AzureClusterAuthorization{empty: true}

This object is used to assert a desired state where this AzureClusterAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterAuthorization) Empty

func (r *AzureClusterAuthorization) Empty() bool

func (*AzureClusterAuthorization) HashCode

func (r *AzureClusterAuthorization) HashCode() string

func (*AzureClusterAuthorization) String

func (r *AzureClusterAuthorization) String() string

func (*AzureClusterAuthorization) UnmarshalJSON

func (r *AzureClusterAuthorization) UnmarshalJSON(data []byte) error

type AzureClusterAuthorizationAdminUsers

type AzureClusterAuthorizationAdminUsers struct {
	Username *string `json:"username"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterAuthorizationAdminUsers *AzureClusterAuthorizationAdminUsers = &AzureClusterAuthorizationAdminUsers{empty: true}

This object is used to assert a desired state where this AzureClusterAuthorizationAdminUsers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterAuthorizationAdminUsers) Empty

func (*AzureClusterAuthorizationAdminUsers) HashCode

func (*AzureClusterAuthorizationAdminUsers) String

func (*AzureClusterAuthorizationAdminUsers) UnmarshalJSON

func (r *AzureClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error

type AzureClusterControlPlane

type AzureClusterControlPlane struct {
	Version            *string                                     `json:"version"`
	SubnetId           *string                                     `json:"subnetId"`
	VmSize             *string                                     `json:"vmSize"`
	SshConfig          *AzureClusterControlPlaneSshConfig          `json:"sshConfig"`
	RootVolume         *AzureClusterControlPlaneRootVolume         `json:"rootVolume"`
	MainVolume         *AzureClusterControlPlaneMainVolume         `json:"mainVolume"`
	DatabaseEncryption *AzureClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"`
	Tags               map[string]string                           `json:"tags"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterControlPlane *AzureClusterControlPlane = &AzureClusterControlPlane{empty: true}

This object is used to assert a desired state where this AzureClusterControlPlane is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterControlPlane) Empty

func (r *AzureClusterControlPlane) Empty() bool

func (*AzureClusterControlPlane) HashCode

func (r *AzureClusterControlPlane) HashCode() string

func (*AzureClusterControlPlane) String

func (r *AzureClusterControlPlane) String() string

func (*AzureClusterControlPlane) UnmarshalJSON

func (r *AzureClusterControlPlane) UnmarshalJSON(data []byte) error

type AzureClusterControlPlaneDatabaseEncryption

type AzureClusterControlPlaneDatabaseEncryption struct {
	ResourceGroupId  *string `json:"resourceGroupId"`
	KmsKeyIdentifier *string `json:"kmsKeyIdentifier"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterControlPlaneDatabaseEncryption *AzureClusterControlPlaneDatabaseEncryption = &AzureClusterControlPlaneDatabaseEncryption{empty: true}

This object is used to assert a desired state where this AzureClusterControlPlaneDatabaseEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterControlPlaneDatabaseEncryption) Empty

func (*AzureClusterControlPlaneDatabaseEncryption) HashCode

func (*AzureClusterControlPlaneDatabaseEncryption) String

func (*AzureClusterControlPlaneDatabaseEncryption) UnmarshalJSON

func (r *AzureClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error

type AzureClusterControlPlaneMainVolume

type AzureClusterControlPlaneMainVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterControlPlaneMainVolume *AzureClusterControlPlaneMainVolume = &AzureClusterControlPlaneMainVolume{empty: true}

This object is used to assert a desired state where this AzureClusterControlPlaneMainVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterControlPlaneMainVolume) Empty

func (*AzureClusterControlPlaneMainVolume) HashCode

func (*AzureClusterControlPlaneMainVolume) String

func (*AzureClusterControlPlaneMainVolume) UnmarshalJSON

func (r *AzureClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error

type AzureClusterControlPlaneRootVolume

type AzureClusterControlPlaneRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterControlPlaneRootVolume *AzureClusterControlPlaneRootVolume = &AzureClusterControlPlaneRootVolume{empty: true}

This object is used to assert a desired state where this AzureClusterControlPlaneRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterControlPlaneRootVolume) Empty

func (*AzureClusterControlPlaneRootVolume) HashCode

func (*AzureClusterControlPlaneRootVolume) String

func (*AzureClusterControlPlaneRootVolume) UnmarshalJSON

func (r *AzureClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error

type AzureClusterControlPlaneSshConfig

type AzureClusterControlPlaneSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterControlPlaneSshConfig *AzureClusterControlPlaneSshConfig = &AzureClusterControlPlaneSshConfig{empty: true}

This object is used to assert a desired state where this AzureClusterControlPlaneSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterControlPlaneSshConfig) Empty

func (*AzureClusterControlPlaneSshConfig) HashCode

func (*AzureClusterControlPlaneSshConfig) String

func (*AzureClusterControlPlaneSshConfig) UnmarshalJSON

func (r *AzureClusterControlPlaneSshConfig) UnmarshalJSON(data []byte) error

type AzureClusterList

type AzureClusterList struct {
	Items []*AzureCluster
	// contains filtered or unexported fields
}

func (*AzureClusterList) HasNext

func (l *AzureClusterList) HasNext() bool

func (*AzureClusterList) Next

func (l *AzureClusterList) Next(ctx context.Context, c *Client) error

type AzureClusterNetworking

type AzureClusterNetworking struct {
	VirtualNetworkId         *string  `json:"virtualNetworkId"`
	PodAddressCidrBlocks     []string `json:"podAddressCidrBlocks"`
	ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterNetworking *AzureClusterNetworking = &AzureClusterNetworking{empty: true}

This object is used to assert a desired state where this AzureClusterNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterNetworking) Empty

func (r *AzureClusterNetworking) Empty() bool

func (*AzureClusterNetworking) HashCode

func (r *AzureClusterNetworking) HashCode() string

func (*AzureClusterNetworking) String

func (r *AzureClusterNetworking) String() string

func (*AzureClusterNetworking) UnmarshalJSON

func (r *AzureClusterNetworking) UnmarshalJSON(data []byte) error

type AzureClusterStateEnum

type AzureClusterStateEnum string

The enum AzureClusterStateEnum.

func AzureClusterStateEnumRef

func AzureClusterStateEnumRef(s string) *AzureClusterStateEnum

AzureClusterStateEnumRef returns a *AzureClusterStateEnum with the value of string s If the empty string is provided, nil is returned.

func (AzureClusterStateEnum) Validate

func (v AzureClusterStateEnum) Validate() error

type AzureClusterWorkloadIdentityConfig

type AzureClusterWorkloadIdentityConfig struct {
	IssuerUri        *string `json:"issuerUri"`
	WorkloadPool     *string `json:"workloadPool"`
	IdentityProvider *string `json:"identityProvider"`
	// contains filtered or unexported fields
}
var EmptyAzureClusterWorkloadIdentityConfig *AzureClusterWorkloadIdentityConfig = &AzureClusterWorkloadIdentityConfig{empty: true}

This object is used to assert a desired state where this AzureClusterWorkloadIdentityConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureClusterWorkloadIdentityConfig) Empty

func (*AzureClusterWorkloadIdentityConfig) HashCode

func (*AzureClusterWorkloadIdentityConfig) String

func (*AzureClusterWorkloadIdentityConfig) UnmarshalJSON

func (r *AzureClusterWorkloadIdentityConfig) UnmarshalJSON(data []byte) error

type AzureNodePool

type AzureNodePool struct {
	Name                  *string                         `json:"name"`
	Version               *string                         `json:"version"`
	Config                *AzureNodePoolConfig            `json:"config"`
	SubnetId              *string                         `json:"subnetId"`
	Autoscaling           *AzureNodePoolAutoscaling       `json:"autoscaling"`
	State                 *AzureNodePoolStateEnum         `json:"state"`
	Uid                   *string                         `json:"uid"`
	Reconciling           *bool                           `json:"reconciling"`
	CreateTime            *string                         `json:"createTime"`
	UpdateTime            *string                         `json:"updateTime"`
	Etag                  *string                         `json:"etag"`
	Annotations           map[string]string               `json:"annotations"`
	MaxPodsConstraint     *AzureNodePoolMaxPodsConstraint `json:"maxPodsConstraint"`
	AzureAvailabilityZone *string                         `json:"azureAvailabilityZone"`
	Project               *string                         `json:"project"`
	Location              *string                         `json:"location"`
	AzureCluster          *string                         `json:"azureCluster"`
}

func (*AzureNodePool) Describe

func (r *AzureNodePool) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*AzureNodePool) ID

func (r *AzureNodePool) ID() (string, error)

func (*AzureNodePool) String

func (r *AzureNodePool) String() string

type AzureNodePoolAutoscaling

type AzureNodePoolAutoscaling struct {
	MinNodeCount *int64 `json:"minNodeCount"`
	MaxNodeCount *int64 `json:"maxNodeCount"`
	// contains filtered or unexported fields
}
var EmptyAzureNodePoolAutoscaling *AzureNodePoolAutoscaling = &AzureNodePoolAutoscaling{empty: true}

This object is used to assert a desired state where this AzureNodePoolAutoscaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureNodePoolAutoscaling) Empty

func (r *AzureNodePoolAutoscaling) Empty() bool

func (*AzureNodePoolAutoscaling) HashCode

func (r *AzureNodePoolAutoscaling) HashCode() string

func (*AzureNodePoolAutoscaling) String

func (r *AzureNodePoolAutoscaling) String() string

func (*AzureNodePoolAutoscaling) UnmarshalJSON

func (r *AzureNodePoolAutoscaling) UnmarshalJSON(data []byte) error

type AzureNodePoolConfig

type AzureNodePoolConfig struct {
	VmSize     *string                        `json:"vmSize"`
	RootVolume *AzureNodePoolConfigRootVolume `json:"rootVolume"`
	Tags       map[string]string              `json:"tags"`
	SshConfig  *AzureNodePoolConfigSshConfig  `json:"sshConfig"`
	// contains filtered or unexported fields
}
var EmptyAzureNodePoolConfig *AzureNodePoolConfig = &AzureNodePoolConfig{empty: true}

This object is used to assert a desired state where this AzureNodePoolConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureNodePoolConfig) Empty

func (r *AzureNodePoolConfig) Empty() bool

func (*AzureNodePoolConfig) HashCode

func (r *AzureNodePoolConfig) HashCode() string

func (*AzureNodePoolConfig) String

func (r *AzureNodePoolConfig) String() string

func (*AzureNodePoolConfig) UnmarshalJSON

func (r *AzureNodePoolConfig) UnmarshalJSON(data []byte) error

type AzureNodePoolConfigRootVolume

type AzureNodePoolConfigRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyAzureNodePoolConfigRootVolume *AzureNodePoolConfigRootVolume = &AzureNodePoolConfigRootVolume{empty: true}

This object is used to assert a desired state where this AzureNodePoolConfigRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureNodePoolConfigRootVolume) Empty

func (*AzureNodePoolConfigRootVolume) HashCode

func (r *AzureNodePoolConfigRootVolume) HashCode() string

func (*AzureNodePoolConfigRootVolume) String

func (*AzureNodePoolConfigRootVolume) UnmarshalJSON

func (r *AzureNodePoolConfigRootVolume) UnmarshalJSON(data []byte) error

type AzureNodePoolConfigSshConfig

type AzureNodePoolConfigSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyAzureNodePoolConfigSshConfig *AzureNodePoolConfigSshConfig = &AzureNodePoolConfigSshConfig{empty: true}

This object is used to assert a desired state where this AzureNodePoolConfigSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureNodePoolConfigSshConfig) Empty

func (*AzureNodePoolConfigSshConfig) HashCode

func (r *AzureNodePoolConfigSshConfig) HashCode() string

func (*AzureNodePoolConfigSshConfig) String

func (*AzureNodePoolConfigSshConfig) UnmarshalJSON

func (r *AzureNodePoolConfigSshConfig) UnmarshalJSON(data []byte) error

type AzureNodePoolList

type AzureNodePoolList struct {
	Items []*AzureNodePool
	// contains filtered or unexported fields
}

func (*AzureNodePoolList) HasNext

func (l *AzureNodePoolList) HasNext() bool

func (*AzureNodePoolList) Next

func (l *AzureNodePoolList) Next(ctx context.Context, c *Client) error

type AzureNodePoolMaxPodsConstraint

type AzureNodePoolMaxPodsConstraint struct {
	MaxPodsPerNode *int64 `json:"maxPodsPerNode"`
	// contains filtered or unexported fields
}
var EmptyAzureNodePoolMaxPodsConstraint *AzureNodePoolMaxPodsConstraint = &AzureNodePoolMaxPodsConstraint{empty: true}

This object is used to assert a desired state where this AzureNodePoolMaxPodsConstraint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*AzureNodePoolMaxPodsConstraint) Empty

func (*AzureNodePoolMaxPodsConstraint) HashCode

func (r *AzureNodePoolMaxPodsConstraint) HashCode() string

func (*AzureNodePoolMaxPodsConstraint) String

func (*AzureNodePoolMaxPodsConstraint) UnmarshalJSON

func (r *AzureNodePoolMaxPodsConstraint) UnmarshalJSON(data []byte) error

type AzureNodePoolStateEnum

type AzureNodePoolStateEnum string

The enum AzureNodePoolStateEnum.

func AzureNodePoolStateEnumRef

func AzureNodePoolStateEnumRef(s string) *AzureNodePoolStateEnum

AzureNodePoolStateEnumRef returns a *AzureNodePoolStateEnum with the value of string s If the empty string is provided, nil is returned.

func (AzureNodePoolStateEnum) Validate

func (v AzureNodePoolStateEnum) Validate() error

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyAzureCluster

func (c *Client) ApplyAzureCluster(ctx context.Context, rawDesired *AzureCluster, opts ...dcl.ApplyOption) (*AzureCluster, error)

func (*Client) ApplyAzureNodePool

func (c *Client) ApplyAzureNodePool(ctx context.Context, rawDesired *AzureNodePool, opts ...dcl.ApplyOption) (*AzureNodePool, error)

func (*Client) ApplyClient

func (c *Client) ApplyClient(ctx context.Context, rawDesired *AzureClient, opts ...dcl.ApplyOption) (*AzureClient, error)

func (*Client) ApplyCluster

func (c *Client) ApplyCluster(ctx context.Context, rawDesired *Cluster, opts ...dcl.ApplyOption) (*Cluster, error)

func (*Client) ApplyNodePool

func (c *Client) ApplyNodePool(ctx context.Context, rawDesired *NodePool, opts ...dcl.ApplyOption) (*NodePool, error)

func (*Client) DeleteAllAzureCluster

func (c *Client) DeleteAllAzureCluster(ctx context.Context, project, location string, filter func(*AzureCluster) bool) error

DeleteAllAzureCluster deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllAzureNodePool

func (c *Client) DeleteAllAzureNodePool(ctx context.Context, project, location, azureCluster string, filter func(*AzureNodePool) bool) error

DeleteAllAzureNodePool deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllClient

func (c *Client) DeleteAllClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error

DeleteAllClient deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllCluster

func (c *Client) DeleteAllCluster(ctx context.Context, project, location string, filter func(*Cluster) bool) error

DeleteAllCluster deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllNodePool

func (c *Client) DeleteAllNodePool(ctx context.Context, project, location, cluster string, filter func(*NodePool) bool) error

DeleteAllNodePool deletes all resources that the filter functions returns true on.

func (*Client) DeleteAzureCluster

func (c *Client) DeleteAzureCluster(ctx context.Context, r *AzureCluster) error

func (*Client) DeleteAzureNodePool

func (c *Client) DeleteAzureNodePool(ctx context.Context, r *AzureNodePool) error

func (*Client) DeleteClient

func (c *Client) DeleteClient(ctx context.Context, r *AzureClient) error

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(ctx context.Context, r *Cluster) error

func (*Client) DeleteNodePool

func (c *Client) DeleteNodePool(ctx context.Context, r *NodePool) error

func (*Client) GetAzureCluster

func (c *Client) GetAzureCluster(ctx context.Context, r *AzureCluster) (*AzureCluster, error)

func (*Client) GetAzureNodePool

func (c *Client) GetAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePool, error)

func (*Client) GetClient

func (c *Client) GetClient(ctx context.Context, r *AzureClient) (*AzureClient, error)

func (*Client) GetCluster

func (c *Client) GetCluster(ctx context.Context, r *Cluster) (*Cluster, error)

func (*Client) GetNodePool

func (c *Client) GetNodePool(ctx context.Context, r *NodePool) (*NodePool, error)

func (*Client) ListAzureCluster

func (c *Client) ListAzureCluster(ctx context.Context, r *AzureCluster) (*AzureClusterList, error)

func (*Client) ListAzureClusterWithMaxResults

func (c *Client) ListAzureClusterWithMaxResults(ctx context.Context, r *AzureCluster, pageSize int32) (*AzureClusterList, error)

func (*Client) ListAzureNodePool

func (c *Client) ListAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePoolList, error)

func (*Client) ListAzureNodePoolWithMaxResults

func (c *Client) ListAzureNodePoolWithMaxResults(ctx context.Context, r *AzureNodePool, pageSize int32) (*AzureNodePoolList, error)

func (*Client) ListClient

func (c *Client) ListClient(ctx context.Context, project, location string) (*ClientList, error)

func (*Client) ListClientWithMaxResults

func (c *Client) ListClientWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClientList, error)

func (*Client) ListCluster

func (c *Client) ListCluster(ctx context.Context, project, location string) (*ClusterList, error)

func (*Client) ListClusterWithMaxResults

func (c *Client) ListClusterWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClusterList, error)

func (*Client) ListNodePool

func (c *Client) ListNodePool(ctx context.Context, project, location, cluster string) (*NodePoolList, error)

func (*Client) ListNodePoolWithMaxResults

func (c *Client) ListNodePoolWithMaxResults(ctx context.Context, project, location, cluster string, pageSize int32) (*NodePoolList, error)

type ClientList

type ClientList struct {
	Items []*AzureClient
	// contains filtered or unexported fields
}

func (*ClientList) HasNext

func (l *ClientList) HasNext() bool

func (*ClientList) Next

func (l *ClientList) Next(ctx context.Context, c *Client) error

type Cluster

type Cluster struct {
	Name                   *string                        `json:"name"`
	Description            *string                        `json:"description"`
	AzureRegion            *string                        `json:"azureRegion"`
	ResourceGroupId        *string                        `json:"resourceGroupId"`
	Client                 *string                        `json:"client"`
	Networking             *ClusterNetworking             `json:"networking"`
	ControlPlane           *ClusterControlPlane           `json:"controlPlane"`
	Authorization          *ClusterAuthorization          `json:"authorization"`
	State                  *ClusterStateEnum              `json:"state"`
	Endpoint               *string                        `json:"endpoint"`
	Uid                    *string                        `json:"uid"`
	Reconciling            *bool                          `json:"reconciling"`
	CreateTime             *string                        `json:"createTime"`
	UpdateTime             *string                        `json:"updateTime"`
	Etag                   *string                        `json:"etag"`
	Annotations            map[string]string              `json:"annotations"`
	WorkloadIdentityConfig *ClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"`
	Project                *string                        `json:"project"`
	Location               *string                        `json:"location"`
	Fleet                  *ClusterFleet                  `json:"fleet"`
	LoggingConfig          *ClusterLoggingConfig          `json:"loggingConfig"`
}

func (*Cluster) Describe

func (r *Cluster) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Cluster) ID

func (r *Cluster) ID() (string, error)

func (*Cluster) String

func (r *Cluster) String() string

type ClusterAuthorization

type ClusterAuthorization struct {
	AdminUsers []ClusterAuthorizationAdminUsers `json:"adminUsers"`
	// contains filtered or unexported fields
}
var EmptyClusterAuthorization *ClusterAuthorization = &ClusterAuthorization{empty: true}

This object is used to assert a desired state where this ClusterAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterAuthorization) Empty

func (r *ClusterAuthorization) Empty() bool

func (*ClusterAuthorization) HashCode

func (r *ClusterAuthorization) HashCode() string

func (*ClusterAuthorization) String

func (r *ClusterAuthorization) String() string

func (*ClusterAuthorization) UnmarshalJSON

func (r *ClusterAuthorization) UnmarshalJSON(data []byte) error

type ClusterAuthorizationAdminUsers

type ClusterAuthorizationAdminUsers struct {
	Username *string `json:"username"`
	// contains filtered or unexported fields
}
var EmptyClusterAuthorizationAdminUsers *ClusterAuthorizationAdminUsers = &ClusterAuthorizationAdminUsers{empty: true}

This object is used to assert a desired state where this ClusterAuthorizationAdminUsers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterAuthorizationAdminUsers) Empty

func (*ClusterAuthorizationAdminUsers) HashCode

func (r *ClusterAuthorizationAdminUsers) HashCode() string

func (*ClusterAuthorizationAdminUsers) String

func (*ClusterAuthorizationAdminUsers) UnmarshalJSON

func (r *ClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error

type ClusterControlPlane

type ClusterControlPlane struct {
	Version            *string                                `json:"version"`
	SubnetId           *string                                `json:"subnetId"`
	VmSize             *string                                `json:"vmSize"`
	SshConfig          *ClusterControlPlaneSshConfig          `json:"sshConfig"`
	RootVolume         *ClusterControlPlaneRootVolume         `json:"rootVolume"`
	MainVolume         *ClusterControlPlaneMainVolume         `json:"mainVolume"`
	DatabaseEncryption *ClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"`
	Tags               map[string]string                      `json:"tags"`
	ProxyConfig        *ClusterControlPlaneProxyConfig        `json:"proxyConfig"`
	ReplicaPlacements  []ClusterControlPlaneReplicaPlacements `json:"replicaPlacements"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlane *ClusterControlPlane = &ClusterControlPlane{empty: true}

This object is used to assert a desired state where this ClusterControlPlane is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlane) Empty

func (r *ClusterControlPlane) Empty() bool

func (*ClusterControlPlane) HashCode

func (r *ClusterControlPlane) HashCode() string

func (*ClusterControlPlane) String

func (r *ClusterControlPlane) String() string

func (*ClusterControlPlane) UnmarshalJSON

func (r *ClusterControlPlane) UnmarshalJSON(data []byte) error

type ClusterControlPlaneDatabaseEncryption

type ClusterControlPlaneDatabaseEncryption struct {
	KeyId *string `json:"keyId"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneDatabaseEncryption *ClusterControlPlaneDatabaseEncryption = &ClusterControlPlaneDatabaseEncryption{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneDatabaseEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneDatabaseEncryption) Empty

func (*ClusterControlPlaneDatabaseEncryption) HashCode

func (*ClusterControlPlaneDatabaseEncryption) String

func (*ClusterControlPlaneDatabaseEncryption) UnmarshalJSON

func (r *ClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error

type ClusterControlPlaneMainVolume

type ClusterControlPlaneMainVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneMainVolume *ClusterControlPlaneMainVolume = &ClusterControlPlaneMainVolume{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneMainVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneMainVolume) Empty

func (*ClusterControlPlaneMainVolume) HashCode

func (r *ClusterControlPlaneMainVolume) HashCode() string

func (*ClusterControlPlaneMainVolume) String

func (*ClusterControlPlaneMainVolume) UnmarshalJSON

func (r *ClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error

type ClusterControlPlaneProxyConfig

type ClusterControlPlaneProxyConfig struct {
	ResourceGroupId *string `json:"resourceGroupId"`
	SecretId        *string `json:"secretId"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneProxyConfig *ClusterControlPlaneProxyConfig = &ClusterControlPlaneProxyConfig{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneProxyConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneProxyConfig) Empty

func (*ClusterControlPlaneProxyConfig) HashCode

func (r *ClusterControlPlaneProxyConfig) HashCode() string

func (*ClusterControlPlaneProxyConfig) String

func (*ClusterControlPlaneProxyConfig) UnmarshalJSON

func (r *ClusterControlPlaneProxyConfig) UnmarshalJSON(data []byte) error

type ClusterControlPlaneReplicaPlacements

type ClusterControlPlaneReplicaPlacements struct {
	SubnetId              *string `json:"subnetId"`
	AzureAvailabilityZone *string `json:"azureAvailabilityZone"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneReplicaPlacements *ClusterControlPlaneReplicaPlacements = &ClusterControlPlaneReplicaPlacements{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneReplicaPlacements is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneReplicaPlacements) Empty

func (*ClusterControlPlaneReplicaPlacements) HashCode

func (*ClusterControlPlaneReplicaPlacements) String

func (*ClusterControlPlaneReplicaPlacements) UnmarshalJSON

func (r *ClusterControlPlaneReplicaPlacements) UnmarshalJSON(data []byte) error

type ClusterControlPlaneRootVolume

type ClusterControlPlaneRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneRootVolume *ClusterControlPlaneRootVolume = &ClusterControlPlaneRootVolume{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneRootVolume) Empty

func (*ClusterControlPlaneRootVolume) HashCode

func (r *ClusterControlPlaneRootVolume) HashCode() string

func (*ClusterControlPlaneRootVolume) String

func (*ClusterControlPlaneRootVolume) UnmarshalJSON

func (r *ClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error

type ClusterControlPlaneSshConfig

type ClusterControlPlaneSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneSshConfig *ClusterControlPlaneSshConfig = &ClusterControlPlaneSshConfig{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneSshConfig) Empty

func (*ClusterControlPlaneSshConfig) HashCode

func (r *ClusterControlPlaneSshConfig) HashCode() string

func (*ClusterControlPlaneSshConfig) String

func (*ClusterControlPlaneSshConfig) UnmarshalJSON

func (r *ClusterControlPlaneSshConfig) UnmarshalJSON(data []byte) error

type ClusterFleet

type ClusterFleet struct {
	Project    *string `json:"project"`
	Membership *string `json:"membership"`
	// contains filtered or unexported fields
}
var EmptyClusterFleet *ClusterFleet = &ClusterFleet{empty: true}

This object is used to assert a desired state where this ClusterFleet is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterFleet) Empty

func (r *ClusterFleet) Empty() bool

func (*ClusterFleet) HashCode

func (r *ClusterFleet) HashCode() string

func (*ClusterFleet) String

func (r *ClusterFleet) String() string

func (*ClusterFleet) UnmarshalJSON

func (r *ClusterFleet) UnmarshalJSON(data []byte) error

type ClusterList

type ClusterList struct {
	Items []*Cluster
	// contains filtered or unexported fields
}

func (*ClusterList) HasNext

func (l *ClusterList) HasNext() bool

func (*ClusterList) Next

func (l *ClusterList) Next(ctx context.Context, c *Client) error

type ClusterLoggingConfig added in v1.2.0

type ClusterLoggingConfig struct {
	ComponentConfig *ClusterLoggingConfigComponentConfig `json:"componentConfig"`
	// contains filtered or unexported fields
}
var EmptyClusterLoggingConfig *ClusterLoggingConfig = &ClusterLoggingConfig{empty: true}

This object is used to assert a desired state where this ClusterLoggingConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterLoggingConfig) Empty added in v1.2.0

func (r *ClusterLoggingConfig) Empty() bool

func (*ClusterLoggingConfig) HashCode added in v1.2.0

func (r *ClusterLoggingConfig) HashCode() string

func (*ClusterLoggingConfig) String added in v1.2.0

func (r *ClusterLoggingConfig) String() string

func (*ClusterLoggingConfig) UnmarshalJSON added in v1.2.0

func (r *ClusterLoggingConfig) UnmarshalJSON(data []byte) error

type ClusterLoggingConfigComponentConfig added in v1.2.0

type ClusterLoggingConfigComponentConfig struct {
	EnableComponents []ClusterLoggingConfigComponentConfigEnableComponentsEnum `json:"enableComponents"`
	// contains filtered or unexported fields
}
var EmptyClusterLoggingConfigComponentConfig *ClusterLoggingConfigComponentConfig = &ClusterLoggingConfigComponentConfig{empty: true}

This object is used to assert a desired state where this ClusterLoggingConfigComponentConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterLoggingConfigComponentConfig) Empty added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) HashCode added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) String added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) UnmarshalJSON added in v1.2.0

func (r *ClusterLoggingConfigComponentConfig) UnmarshalJSON(data []byte) error

type ClusterLoggingConfigComponentConfigEnableComponentsEnum added in v1.2.0

type ClusterLoggingConfigComponentConfigEnableComponentsEnum string

The enum ClusterLoggingConfigComponentConfigEnableComponentsEnum.

func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef added in v1.2.0

func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef(s string) *ClusterLoggingConfigComponentConfigEnableComponentsEnum

ClusterLoggingConfigComponentConfigEnableComponentsEnumRef returns a *ClusterLoggingConfigComponentConfigEnableComponentsEnum with the value of string s If the empty string is provided, nil is returned.

func (ClusterLoggingConfigComponentConfigEnableComponentsEnum) Validate added in v1.2.0

type ClusterNetworking

type ClusterNetworking struct {
	VirtualNetworkId         *string  `json:"virtualNetworkId"`
	PodAddressCidrBlocks     []string `json:"podAddressCidrBlocks"`
	ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"`
	// contains filtered or unexported fields
}
var EmptyClusterNetworking *ClusterNetworking = &ClusterNetworking{empty: true}

This object is used to assert a desired state where this ClusterNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterNetworking) Empty

func (r *ClusterNetworking) Empty() bool

func (*ClusterNetworking) HashCode

func (r *ClusterNetworking) HashCode() string

func (*ClusterNetworking) String

func (r *ClusterNetworking) String() string

func (*ClusterNetworking) UnmarshalJSON

func (r *ClusterNetworking) UnmarshalJSON(data []byte) error

type ClusterStateEnum

type ClusterStateEnum string

The enum ClusterStateEnum.

func ClusterStateEnumRef

func ClusterStateEnumRef(s string) *ClusterStateEnum

ClusterStateEnumRef returns a *ClusterStateEnum with the value of string s If the empty string is provided, nil is returned.

func (ClusterStateEnum) Validate

func (v ClusterStateEnum) Validate() error

type ClusterWorkloadIdentityConfig

type ClusterWorkloadIdentityConfig struct {
	IssuerUri        *string `json:"issuerUri"`
	WorkloadPool     *string `json:"workloadPool"`
	IdentityProvider *string `json:"identityProvider"`
	// contains filtered or unexported fields
}
var EmptyClusterWorkloadIdentityConfig *ClusterWorkloadIdentityConfig = &ClusterWorkloadIdentityConfig{empty: true}

This object is used to assert a desired state where this ClusterWorkloadIdentityConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterWorkloadIdentityConfig) Empty

func (*ClusterWorkloadIdentityConfig) HashCode

func (r *ClusterWorkloadIdentityConfig) HashCode() string

func (*ClusterWorkloadIdentityConfig) String

func (*ClusterWorkloadIdentityConfig) UnmarshalJSON

func (r *ClusterWorkloadIdentityConfig) UnmarshalJSON(data []byte) error

type NodePool

type NodePool struct {
	Name                  *string                    `json:"name"`
	Version               *string                    `json:"version"`
	Config                *NodePoolConfig            `json:"config"`
	SubnetId              *string                    `json:"subnetId"`
	Autoscaling           *NodePoolAutoscaling       `json:"autoscaling"`
	State                 *NodePoolStateEnum         `json:"state"`
	Uid                   *string                    `json:"uid"`
	Reconciling           *bool                      `json:"reconciling"`
	CreateTime            *string                    `json:"createTime"`
	UpdateTime            *string                    `json:"updateTime"`
	Etag                  *string                    `json:"etag"`
	Annotations           map[string]string          `json:"annotations"`
	MaxPodsConstraint     *NodePoolMaxPodsConstraint `json:"maxPodsConstraint"`
	AzureAvailabilityZone *string                    `json:"azureAvailabilityZone"`
	Project               *string                    `json:"project"`
	Location              *string                    `json:"location"`
	Cluster               *string                    `json:"cluster"`
}

func (*NodePool) Describe

func (r *NodePool) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*NodePool) ID

func (r *NodePool) ID() (string, error)

func (*NodePool) String

func (r *NodePool) String() string

type NodePoolAutoscaling

type NodePoolAutoscaling struct {
	MinNodeCount *int64 `json:"minNodeCount"`
	MaxNodeCount *int64 `json:"maxNodeCount"`
	// contains filtered or unexported fields
}
var EmptyNodePoolAutoscaling *NodePoolAutoscaling = &NodePoolAutoscaling{empty: true}

This object is used to assert a desired state where this NodePoolAutoscaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolAutoscaling) Empty

func (r *NodePoolAutoscaling) Empty() bool

func (*NodePoolAutoscaling) HashCode

func (r *NodePoolAutoscaling) HashCode() string

func (*NodePoolAutoscaling) String

func (r *NodePoolAutoscaling) String() string

func (*NodePoolAutoscaling) UnmarshalJSON

func (r *NodePoolAutoscaling) UnmarshalJSON(data []byte) error

type NodePoolConfig

type NodePoolConfig struct {
	VmSize      *string                    `json:"vmSize"`
	RootVolume  *NodePoolConfigRootVolume  `json:"rootVolume"`
	Tags        map[string]string          `json:"tags"`
	SshConfig   *NodePoolConfigSshConfig   `json:"sshConfig"`
	ImageType   *string                    `json:"imageType"`
	ProxyConfig *NodePoolConfigProxyConfig `json:"proxyConfig"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfig *NodePoolConfig = &NodePoolConfig{empty: true}

This object is used to assert a desired state where this NodePoolConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfig) Empty

func (r *NodePoolConfig) Empty() bool

func (*NodePoolConfig) HashCode

func (r *NodePoolConfig) HashCode() string

func (*NodePoolConfig) String

func (r *NodePoolConfig) String() string

func (*NodePoolConfig) UnmarshalJSON

func (r *NodePoolConfig) UnmarshalJSON(data []byte) error

type NodePoolConfigProxyConfig added in v1.3.0

type NodePoolConfigProxyConfig struct {
	ResourceGroupId *string `json:"resourceGroupId"`
	SecretId        *string `json:"secretId"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigProxyConfig *NodePoolConfigProxyConfig = &NodePoolConfigProxyConfig{empty: true}

This object is used to assert a desired state where this NodePoolConfigProxyConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigProxyConfig) Empty added in v1.3.0

func (r *NodePoolConfigProxyConfig) Empty() bool

func (*NodePoolConfigProxyConfig) HashCode added in v1.3.0

func (r *NodePoolConfigProxyConfig) HashCode() string

func (*NodePoolConfigProxyConfig) String added in v1.3.0

func (r *NodePoolConfigProxyConfig) String() string

func (*NodePoolConfigProxyConfig) UnmarshalJSON added in v1.3.0

func (r *NodePoolConfigProxyConfig) UnmarshalJSON(data []byte) error

type NodePoolConfigRootVolume

type NodePoolConfigRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigRootVolume *NodePoolConfigRootVolume = &NodePoolConfigRootVolume{empty: true}

This object is used to assert a desired state where this NodePoolConfigRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigRootVolume) Empty

func (r *NodePoolConfigRootVolume) Empty() bool

func (*NodePoolConfigRootVolume) HashCode

func (r *NodePoolConfigRootVolume) HashCode() string

func (*NodePoolConfigRootVolume) String

func (r *NodePoolConfigRootVolume) String() string

func (*NodePoolConfigRootVolume) UnmarshalJSON

func (r *NodePoolConfigRootVolume) UnmarshalJSON(data []byte) error

type NodePoolConfigSshConfig

type NodePoolConfigSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigSshConfig *NodePoolConfigSshConfig = &NodePoolConfigSshConfig{empty: true}

This object is used to assert a desired state where this NodePoolConfigSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigSshConfig) Empty

func (r *NodePoolConfigSshConfig) Empty() bool

func (*NodePoolConfigSshConfig) HashCode

func (r *NodePoolConfigSshConfig) HashCode() string

func (*NodePoolConfigSshConfig) String

func (r *NodePoolConfigSshConfig) String() string

func (*NodePoolConfigSshConfig) UnmarshalJSON

func (r *NodePoolConfigSshConfig) UnmarshalJSON(data []byte) error

type NodePoolList

type NodePoolList struct {
	Items []*NodePool
	// contains filtered or unexported fields
}

func (*NodePoolList) HasNext

func (l *NodePoolList) HasNext() bool

func (*NodePoolList) Next

func (l *NodePoolList) Next(ctx context.Context, c *Client) error

type NodePoolMaxPodsConstraint

type NodePoolMaxPodsConstraint struct {
	MaxPodsPerNode *int64 `json:"maxPodsPerNode"`
	// contains filtered or unexported fields
}
var EmptyNodePoolMaxPodsConstraint *NodePoolMaxPodsConstraint = &NodePoolMaxPodsConstraint{empty: true}

This object is used to assert a desired state where this NodePoolMaxPodsConstraint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolMaxPodsConstraint) Empty

func (r *NodePoolMaxPodsConstraint) Empty() bool

func (*NodePoolMaxPodsConstraint) HashCode

func (r *NodePoolMaxPodsConstraint) HashCode() string

func (*NodePoolMaxPodsConstraint) String

func (r *NodePoolMaxPodsConstraint) String() string

func (*NodePoolMaxPodsConstraint) UnmarshalJSON

func (r *NodePoolMaxPodsConstraint) UnmarshalJSON(data []byte) error

type NodePoolStateEnum

type NodePoolStateEnum string

The enum NodePoolStateEnum.

func NodePoolStateEnumRef

func NodePoolStateEnumRef(s string) *NodePoolStateEnum

NodePoolStateEnumRef returns a *NodePoolStateEnum with the value of string s If the empty string is provided, nil is returned.

func (NodePoolStateEnum) Validate

func (v NodePoolStateEnum) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL