alpha

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 2023 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 vmware contains methods and types for handling vmware GCP resources.

Index

Constants

View Source
const ClusterMaxPage = -1
View Source
const PrivateCloudMaxPage = -1
View Source
const VmwareEngineNetworkMaxPage = -1

Variables

View Source
var YAML_cluster = []byte("info:\n  title: Vmware/Cluster\n  description: The Vmware Cluster resource\n  x-dcl-struct-name: Cluster\n  x-dcl-has-iam: false\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    - name: privateCloud\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\n    - name: privateCloud\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Cluster:\n      title: Cluster\n      x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{private_cloud}}/clusters/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 9600\n      x-dcl-delete-timeout: 7200\n      type: object\n      required:\n      - name\n      - project\n      - location\n      - privateCloud\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Creation time of this resource.\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        management:\n          type: boolean\n          x-dcl-go-name: Management\n          readOnly: true\n          description: Output only. True if the cluster is a management cluster; false\n            otherwise. There can only be one management cluster in a private cloud\n            and it has to be the first one.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'Output only. The resource name of this cluster. Resource names\n            are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n            For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`'\n          x-kubernetes-immutable: true\n        privateCloud:\n          type: string\n          x-dcl-go-name: PrivateCloud\n          description: The private_cloud for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Vmwareengine/PrivateCloud\n            field: name\n            parent: 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        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: ClusterStateEnum\n          readOnly: true\n          description: 'Output only. State of the resource. Possible values: STATE_UNSPECIFIED,\n            ACTIVE, CREATING, UPDATING, DELETING, REPAIRING'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - ACTIVE\n          - CREATING\n          - UPDATING\n          - DELETING\n          - REPAIRING\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. System-generated unique identifier for the resource.\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. Last update time of this resource.\n          x-kubernetes-immutable: true\n")

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

View Source
var YAML_private_cloud = []byte("info:\n  title: Vmware/PrivateCloud\n  description: The Vmware PrivateCloud resource\n  x-dcl-struct-name: PrivateCloud\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a PrivateCloud\n    parameters:\n    - name: privateCloud\n      required: true\n      description: A full instance of a PrivateCloud\n  apply:\n    description: The function used to apply information about a PrivateCloud\n    parameters:\n    - name: privateCloud\n      required: true\n      description: A full instance of a PrivateCloud\n  delete:\n    description: The function used to delete a PrivateCloud\n    parameters:\n    - name: privateCloud\n      required: true\n      description: A full instance of a PrivateCloud\n  deleteAll:\n    description: The function used to delete all PrivateCloud\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 PrivateCloud\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    PrivateCloud:\n      title: PrivateCloud\n      x-dcl-id: projects/{{project}}/locations/{{location}}/privateClouds/{{name}}\n      x-dcl-uses-state-hint: true\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: true\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 9600\n      x-dcl-delete-timeout: 7200\n      type: object\n      required:\n      - name\n      - networkConfig\n      - managementCluster\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Creation time of this resource.\n          x-kubernetes-immutable: true\n        deleteTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: DeleteTime\n          readOnly: true\n          description: Output only. Time when the resource was scheduled for deletion.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: User-provided description for this private cloud.\n        expireTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: ExpireTime\n          readOnly: true\n          description: Output only. Time when the resource will be irreversibly deleted.\n          x-kubernetes-immutable: true\n        hcx:\n          type: object\n          x-dcl-go-name: Hcx\n          x-dcl-go-type: PrivateCloudHcx\n          readOnly: true\n          description: Output only. HCX appliance.\n          properties:\n            fqdn:\n              type: string\n              x-dcl-go-name: Fqdn\n              description: Fully qualified domain name of the appliance.\n            internalIP:\n              type: string\n              x-dcl-go-name: InternalIP\n              description: Internal IP address of the appliance.\n            state:\n              type: string\n              x-dcl-go-name: State\n              x-dcl-go-type: PrivateCloudHcxStateEnum\n              readOnly: true\n              description: 'Output only. The state of the appliance. Possible values:\n                STATE_UNSPECIFIED, ACTIVE, CREATING'\n              x-kubernetes-immutable: true\n              enum:\n              - STATE_UNSPECIFIED\n              - ACTIVE\n              - CREATING\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Version of the appliance.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Locations/Location\n            field: name\n            parent: true\n        managementCluster:\n          type: object\n          x-dcl-go-name: ManagementCluster\n          x-dcl-go-type: PrivateCloudManagementCluster\n          description: 'Required. Input only. The management cluster for this private\n            cloud. This field is required during creation of the private cloud to\n            provide details for the default cluster. The following fields can''t be\n            changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.'\n          x-dcl-mutable-unreadable: true\n          required:\n          - clusterId\n          properties:\n            clusterId:\n              type: string\n              x-dcl-go-name: ClusterId\n              description: 'Required. The user-provided identifier of the new `Cluster`.\n                The identifier must meet the following requirements: * Only contains\n                1-63 alphanumeric characters and hyphens * Begins with an alphabetical\n                character * Ends with a non-hyphen character * Not formatted as a\n                UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034)\n                (section 3.5)'\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'Output only. The resource name of this private cloud. Resource\n            names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n            For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`'\n          x-kubernetes-immutable: true\n        networkConfig:\n          type: object\n          x-dcl-go-name: NetworkConfig\n          x-dcl-go-type: PrivateCloudNetworkConfig\n          description: Required. Network configuration of the private cloud.\n          required:\n          - managementCidr\n          properties:\n            managementCidr:\n              type: string\n              x-dcl-go-name: ManagementCidr\n              description: Required. Management CIDR used by VMware management appliances.\n            managementIPAddressLayoutVersion:\n              type: integer\n              format: int64\n              x-dcl-go-name: ManagementIPAddressLayoutVersion\n              readOnly: true\n              description: 'Output only. The IP address layout version of the management\n                IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`:\n                Indicates the legacy IP address layout used by some existing private\n                clouds. This is no longer supported for new private clouds as it does\n                not support all features. * `managementIpAddressLayoutVersion=2`:\n                Indicates the latest IP address layout used by all newly created private\n                clouds. This version supports all current features.'\n            vmwareEngineNetwork:\n              type: string\n              x-dcl-go-name: VmwareEngineNetwork\n              description: 'Optional. The relative resource name of the VMware Engine\n                network attached to the private cloud. Specify the name in the following\n                form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`\n                where `{project}` can either be a project number or a project ID.'\n              x-dcl-references:\n              - resource: Vmwareengine/VmwareEngineNetwork\n                field: name\n            vmwareEngineNetworkCanonical:\n              type: string\n              x-dcl-go-name: VmwareEngineNetworkCanonical\n              readOnly: true\n              description: 'Output only. The canonical name of the VMware Engine network\n                in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`'\n              x-dcl-references:\n              - resource: Vmwareengine/VmwareEngineNetwork\n                field: name\n        nsx:\n          type: object\n          x-dcl-go-name: Nsx\n          x-dcl-go-type: PrivateCloudNsx\n          readOnly: true\n          description: Output only. NSX appliance.\n          properties:\n            fqdn:\n              type: string\n              x-dcl-go-name: Fqdn\n              description: Fully qualified domain name of the appliance.\n            internalIP:\n              type: string\n              x-dcl-go-name: InternalIP\n              description: Internal IP address of the appliance.\n            state:\n              type: string\n              x-dcl-go-name: State\n              x-dcl-go-type: PrivateCloudNsxStateEnum\n              readOnly: true\n              description: 'Output only. The state of the appliance. Possible values:\n                STATE_UNSPECIFIED, ACTIVE, CREATING'\n              x-kubernetes-immutable: true\n              enum:\n              - STATE_UNSPECIFIED\n              - ACTIVE\n              - CREATING\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Version of the appliance.\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        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: PrivateCloudStateEnum\n          readOnly: true\n          description: 'Output only. State of the resource. New values may be added\n            to this enum when appropriate. Possible values: STATE_UNSPECIFIED, ACTIVE,\n            CREATING, UPDATING, FAILED, DELETED, PURGING'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - ACTIVE\n          - CREATING\n          - UPDATING\n          - FAILED\n          - DELETED\n          - PURGING\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. System-generated unique identifier for the resource.\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. Last update time of this resource.\n          x-kubernetes-immutable: true\n        vcenter:\n          type: object\n          x-dcl-go-name: Vcenter\n          x-dcl-go-type: PrivateCloudVcenter\n          readOnly: true\n          description: Output only. Vcenter appliance.\n          properties:\n            fqdn:\n              type: string\n              x-dcl-go-name: Fqdn\n              description: Fully qualified domain name of the appliance.\n            internalIP:\n              type: string\n              x-dcl-go-name: InternalIP\n              description: Internal IP address of the appliance.\n            state:\n              type: string\n              x-dcl-go-name: State\n              x-dcl-go-type: PrivateCloudVcenterStateEnum\n              readOnly: true\n              description: 'Output only. The state of the appliance. Possible values:\n                STATE_UNSPECIFIED, ACTIVE, CREATING'\n              x-kubernetes-immutable: true\n              enum:\n              - STATE_UNSPECIFIED\n              - ACTIVE\n              - CREATING\n            version:\n              type: string\n              x-dcl-go-name: Version\n              description: Version of the appliance.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/private_cloud.yaml

View Source
var YAML_vmware_engine_network = []byte("info:\n  title: Vmware/VmwareEngineNetwork\n  description: The Vmware VmwareEngineNetwork resource\n  x-dcl-struct-name: VmwareEngineNetwork\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a VmwareEngineNetwork\n    parameters:\n    - name: vmwareEngineNetwork\n      required: true\n      description: A full instance of a VmwareEngineNetwork\n  apply:\n    description: The function used to apply information about a VmwareEngineNetwork\n    parameters:\n    - name: vmwareEngineNetwork\n      required: true\n      description: A full instance of a VmwareEngineNetwork\n  delete:\n    description: The function used to delete a VmwareEngineNetwork\n    parameters:\n    - name: vmwareEngineNetwork\n      required: true\n      description: A full instance of a VmwareEngineNetwork\n  deleteAll:\n    description: The function used to delete all VmwareEngineNetwork\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 VmwareEngineNetwork\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    VmwareEngineNetwork:\n      title: VmwareEngineNetwork\n      x-dcl-id: projects/{{project}}/locations/{{location}}/vmwareEngineNetworks/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - type\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Creation time of this resource.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: User-provided description for this VMware Engine network.\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Checksum that may be sent on update and delete requests to\n            ensure that the user-provided value is up to date before the server processes\n            a request. The server computes checksums based on the value of other fields\n            in the request.\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: 'Output only. The resource name of the VMware Engine network.\n            Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.\n            For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`'\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        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: VmwareEngineNetworkStateEnum\n          readOnly: true\n          description: 'Output only. State of the VMware Engine network. Possible\n            values: STATE_UNSPECIFIED, CREATING, ACTIVE, UPDATING, DELETING'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - CREATING\n          - ACTIVE\n          - UPDATING\n          - DELETING\n        type:\n          type: string\n          x-dcl-go-name: Type\n          x-dcl-go-type: VmwareEngineNetworkTypeEnum\n          description: 'Required. VMware Engine network type. Possible values: TYPE_UNSPECIFIED,\n            LEGACY'\n          enum:\n          - TYPE_UNSPECIFIED\n          - LEGACY\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. System-generated unique identifier for the resource.\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. Last update time of this resource.\n          x-kubernetes-immutable: true\n        vpcNetworks:\n          type: array\n          x-dcl-go-name: VPCNetworks\n          readOnly: true\n          description: Output only. VMware Engine service VPC networks that provide\n            connectivity from a private cloud to customer projects, the internet,\n            and other Google Cloud services.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: VmwareEngineNetworkVPCNetworks\n            properties:\n              network:\n                type: string\n                x-dcl-go-name: Network\n                readOnly: true\n                description: 'Output only. The relative resource name of the service\n                  VPC network this VMware Engine network is attached to. For example:\n                  `projects/123123/global/networks/my-network`'\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Compute/Network\n                  field: selfLink\n              type:\n                type: string\n                x-dcl-go-name: Type\n                x-dcl-go-type: VmwareEngineNetworkVPCNetworksTypeEnum\n                readOnly: true\n                description: 'Output only. Type of VPC network (INTRANET, INTERNET,\n                  or GOOGLE_CLOUD) Possible values: TYPE_UNSPECIFIED, INTRANET, INTERNET,\n                  GOOGLE_CLOUD'\n                x-kubernetes-immutable: true\n                enum:\n                - TYPE_UNSPECIFIED\n                - INTRANET\n                - INTERNET\n                - GOOGLE_CLOUD\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/vmware_engine_network.yaml

Functions

func DCLClusterSchema added in v1.10.3

func DCLClusterSchema() *dcl.Schema

func DCLPrivateCloudSchema added in v1.10.3

func DCLPrivateCloudSchema() *dcl.Schema

func DCLVmwareEngineNetworkSchema added in v1.27.1

func DCLVmwareEngineNetworkSchema() *dcl.Schema

Types

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) ApplyCluster

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

func (*Client) ApplyPrivateCloud

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

func (*Client) ApplyVmwareEngineNetwork added in v1.27.1

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

func (*Client) DeleteAllCluster

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

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

func (*Client) DeleteAllPrivateCloud

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

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

func (*Client) DeleteAllVmwareEngineNetwork added in v1.27.1

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

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

func (*Client) DeleteCluster

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

func (*Client) DeletePrivateCloud

func (c *Client) DeletePrivateCloud(ctx context.Context, r *PrivateCloud) error

func (*Client) DeleteVmwareEngineNetwork added in v1.27.1

func (c *Client) DeleteVmwareEngineNetwork(ctx context.Context, r *VmwareEngineNetwork) error

func (*Client) GetCluster

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

func (*Client) GetPrivateCloud

func (c *Client) GetPrivateCloud(ctx context.Context, r *PrivateCloud) (*PrivateCloud, error)

func (*Client) GetVmwareEngineNetwork added in v1.27.1

func (c *Client) GetVmwareEngineNetwork(ctx context.Context, r *VmwareEngineNetwork) (*VmwareEngineNetwork, error)

func (*Client) ListCluster

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

func (*Client) ListClusterWithMaxResults

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

func (*Client) ListPrivateCloud

func (c *Client) ListPrivateCloud(ctx context.Context, project, location string) (*PrivateCloudList, error)

func (*Client) ListPrivateCloudWithMaxResults

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

func (*Client) ListVmwareEngineNetwork added in v1.27.1

func (c *Client) ListVmwareEngineNetwork(ctx context.Context, project, location string) (*VmwareEngineNetworkList, error)

func (*Client) ListVmwareEngineNetworkWithMaxResults added in v1.27.1

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

type Cluster

type Cluster struct {
	Name         *string           `json:"name"`
	CreateTime   *string           `json:"createTime"`
	UpdateTime   *string           `json:"updateTime"`
	State        *ClusterStateEnum `json:"state"`
	Management   *bool             `json:"management"`
	Uid          *string           `json:"uid"`
	Project      *string           `json:"project"`
	Location     *string           `json:"location"`
	PrivateCloud *string           `json:"privateCloud"`
}

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 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 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 PrivateCloud

type PrivateCloud struct {
	Name              *string                        `json:"name"`
	CreateTime        *string                        `json:"createTime"`
	UpdateTime        *string                        `json:"updateTime"`
	DeleteTime        *string                        `json:"deleteTime"`
	ExpireTime        *string                        `json:"expireTime"`
	State             *PrivateCloudStateEnum         `json:"state"`
	NetworkConfig     *PrivateCloudNetworkConfig     `json:"networkConfig"`
	ManagementCluster *PrivateCloudManagementCluster `json:"managementCluster"`
	Description       *string                        `json:"description"`
	Hcx               *PrivateCloudHcx               `json:"hcx"`
	Nsx               *PrivateCloudNsx               `json:"nsx"`
	Vcenter           *PrivateCloudVcenter           `json:"vcenter"`
	Uid               *string                        `json:"uid"`
	Project           *string                        `json:"project"`
	Location          *string                        `json:"location"`
}

func (*PrivateCloud) Describe

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

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

func (*PrivateCloud) GetPolicy

func (r *PrivateCloud) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)

func (*PrivateCloud) IAMPolicyVersion

func (r *PrivateCloud) IAMPolicyVersion() int

func (*PrivateCloud) ID

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

func (*PrivateCloud) SetPolicyURL

func (r *PrivateCloud) SetPolicyURL(userBasePath string) string

func (*PrivateCloud) SetPolicyVerb

func (r *PrivateCloud) SetPolicyVerb() string

func (*PrivateCloud) String

func (r *PrivateCloud) String() string

type PrivateCloudHcx

type PrivateCloudHcx struct {
	InternalIP *string                   `json:"internalIP"`
	Version    *string                   `json:"version"`
	State      *PrivateCloudHcxStateEnum `json:"state"`
	Fqdn       *string                   `json:"fqdn"`
	// contains filtered or unexported fields
}
var EmptyPrivateCloudHcx *PrivateCloudHcx = &PrivateCloudHcx{empty: true}

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

func (*PrivateCloudHcx) Empty

func (r *PrivateCloudHcx) Empty() bool

func (*PrivateCloudHcx) HashCode

func (r *PrivateCloudHcx) HashCode() string

func (*PrivateCloudHcx) String

func (r *PrivateCloudHcx) String() string

func (*PrivateCloudHcx) UnmarshalJSON

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

type PrivateCloudHcxStateEnum added in v1.27.1

type PrivateCloudHcxStateEnum string

The enum PrivateCloudHcxStateEnum.

func PrivateCloudHcxStateEnumRef added in v1.27.1

func PrivateCloudHcxStateEnumRef(s string) *PrivateCloudHcxStateEnum

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

func (PrivateCloudHcxStateEnum) Validate added in v1.27.1

func (v PrivateCloudHcxStateEnum) Validate() error

type PrivateCloudList

type PrivateCloudList struct {
	Items []*PrivateCloud
	// contains filtered or unexported fields
}

func (*PrivateCloudList) HasNext

func (l *PrivateCloudList) HasNext() bool

func (*PrivateCloudList) Next

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

type PrivateCloudManagementCluster

type PrivateCloudManagementCluster struct {
	ClusterId *string `json:"clusterId"`
	// contains filtered or unexported fields
}
var EmptyPrivateCloudManagementCluster *PrivateCloudManagementCluster = &PrivateCloudManagementCluster{empty: true}

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

func (*PrivateCloudManagementCluster) Empty

func (*PrivateCloudManagementCluster) HashCode

func (r *PrivateCloudManagementCluster) HashCode() string

func (*PrivateCloudManagementCluster) String

func (*PrivateCloudManagementCluster) UnmarshalJSON

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

type PrivateCloudNetworkConfig

type PrivateCloudNetworkConfig struct {
	ManagementCidr                   *string `json:"managementCidr"`
	VmwareEngineNetwork              *string `json:"vmwareEngineNetwork"`
	VmwareEngineNetworkCanonical     *string `json:"vmwareEngineNetworkCanonical"`
	ManagementIPAddressLayoutVersion *int64  `json:"managementIPAddressLayoutVersion"`
	// contains filtered or unexported fields
}
var EmptyPrivateCloudNetworkConfig *PrivateCloudNetworkConfig = &PrivateCloudNetworkConfig{empty: true}

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

func (*PrivateCloudNetworkConfig) Empty

func (r *PrivateCloudNetworkConfig) Empty() bool

func (*PrivateCloudNetworkConfig) HashCode

func (r *PrivateCloudNetworkConfig) HashCode() string

func (*PrivateCloudNetworkConfig) String

func (r *PrivateCloudNetworkConfig) String() string

func (*PrivateCloudNetworkConfig) UnmarshalJSON

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

type PrivateCloudNsx

type PrivateCloudNsx struct {
	InternalIP *string                   `json:"internalIP"`
	Version    *string                   `json:"version"`
	State      *PrivateCloudNsxStateEnum `json:"state"`
	Fqdn       *string                   `json:"fqdn"`
	// contains filtered or unexported fields
}
var EmptyPrivateCloudNsx *PrivateCloudNsx = &PrivateCloudNsx{empty: true}

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

func (*PrivateCloudNsx) Empty

func (r *PrivateCloudNsx) Empty() bool

func (*PrivateCloudNsx) HashCode

func (r *PrivateCloudNsx) HashCode() string

func (*PrivateCloudNsx) String

func (r *PrivateCloudNsx) String() string

func (*PrivateCloudNsx) UnmarshalJSON

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

type PrivateCloudNsxStateEnum added in v1.27.1

type PrivateCloudNsxStateEnum string

The enum PrivateCloudNsxStateEnum.

func PrivateCloudNsxStateEnumRef added in v1.27.1

func PrivateCloudNsxStateEnumRef(s string) *PrivateCloudNsxStateEnum

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

func (PrivateCloudNsxStateEnum) Validate added in v1.27.1

func (v PrivateCloudNsxStateEnum) Validate() error

type PrivateCloudStateEnum

type PrivateCloudStateEnum string

The enum PrivateCloudStateEnum.

func PrivateCloudStateEnumRef

func PrivateCloudStateEnumRef(s string) *PrivateCloudStateEnum

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

func (PrivateCloudStateEnum) Validate

func (v PrivateCloudStateEnum) Validate() error

type PrivateCloudVcenter

type PrivateCloudVcenter struct {
	InternalIP *string                       `json:"internalIP"`
	Version    *string                       `json:"version"`
	State      *PrivateCloudVcenterStateEnum `json:"state"`
	Fqdn       *string                       `json:"fqdn"`
	// contains filtered or unexported fields
}
var EmptyPrivateCloudVcenter *PrivateCloudVcenter = &PrivateCloudVcenter{empty: true}

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

func (*PrivateCloudVcenter) Empty

func (r *PrivateCloudVcenter) Empty() bool

func (*PrivateCloudVcenter) HashCode

func (r *PrivateCloudVcenter) HashCode() string

func (*PrivateCloudVcenter) String

func (r *PrivateCloudVcenter) String() string

func (*PrivateCloudVcenter) UnmarshalJSON

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

type PrivateCloudVcenterStateEnum added in v1.27.1

type PrivateCloudVcenterStateEnum string

The enum PrivateCloudVcenterStateEnum.

func PrivateCloudVcenterStateEnumRef added in v1.27.1

func PrivateCloudVcenterStateEnumRef(s string) *PrivateCloudVcenterStateEnum

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

func (PrivateCloudVcenterStateEnum) Validate added in v1.27.1

func (v PrivateCloudVcenterStateEnum) Validate() error

type VmwareEngineNetwork added in v1.27.1

type VmwareEngineNetwork struct {
	Name        *string                          `json:"name"`
	CreateTime  *string                          `json:"createTime"`
	UpdateTime  *string                          `json:"updateTime"`
	Description *string                          `json:"description"`
	VPCNetworks []VmwareEngineNetworkVPCNetworks `json:"vpcNetworks"`
	State       *VmwareEngineNetworkStateEnum    `json:"state"`
	Type        *VmwareEngineNetworkTypeEnum     `json:"type"`
	Uid         *string                          `json:"uid"`
	Etag        *string                          `json:"etag"`
	Project     *string                          `json:"project"`
	Location    *string                          `json:"location"`
}

func (*VmwareEngineNetwork) Describe added in v1.27.1

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

func (*VmwareEngineNetwork) ID added in v1.27.1

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

func (*VmwareEngineNetwork) String added in v1.27.1

func (r *VmwareEngineNetwork) String() string

type VmwareEngineNetworkList added in v1.27.1

type VmwareEngineNetworkList struct {
	Items []*VmwareEngineNetwork
	// contains filtered or unexported fields
}

func (*VmwareEngineNetworkList) HasNext added in v1.27.1

func (l *VmwareEngineNetworkList) HasNext() bool

func (*VmwareEngineNetworkList) Next added in v1.27.1

type VmwareEngineNetworkStateEnum added in v1.27.1

type VmwareEngineNetworkStateEnum string

The enum VmwareEngineNetworkStateEnum.

func VmwareEngineNetworkStateEnumRef added in v1.27.1

func VmwareEngineNetworkStateEnumRef(s string) *VmwareEngineNetworkStateEnum

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

func (VmwareEngineNetworkStateEnum) Validate added in v1.27.1

func (v VmwareEngineNetworkStateEnum) Validate() error

type VmwareEngineNetworkTypeEnum added in v1.27.1

type VmwareEngineNetworkTypeEnum string

The enum VmwareEngineNetworkTypeEnum.

func VmwareEngineNetworkTypeEnumRef added in v1.27.1

func VmwareEngineNetworkTypeEnumRef(s string) *VmwareEngineNetworkTypeEnum

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

func (VmwareEngineNetworkTypeEnum) Validate added in v1.27.1

func (v VmwareEngineNetworkTypeEnum) Validate() error

type VmwareEngineNetworkVPCNetworks added in v1.27.1

type VmwareEngineNetworkVPCNetworks struct {
	Type    *VmwareEngineNetworkVPCNetworksTypeEnum `json:"type"`
	Network *string                                 `json:"network"`
	// contains filtered or unexported fields
}
var EmptyVmwareEngineNetworkVPCNetworks *VmwareEngineNetworkVPCNetworks = &VmwareEngineNetworkVPCNetworks{empty: true}

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

func (*VmwareEngineNetworkVPCNetworks) Empty added in v1.27.1

func (*VmwareEngineNetworkVPCNetworks) HashCode added in v1.27.1

func (r *VmwareEngineNetworkVPCNetworks) HashCode() string

func (*VmwareEngineNetworkVPCNetworks) String added in v1.27.1

func (*VmwareEngineNetworkVPCNetworks) UnmarshalJSON added in v1.27.1

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

type VmwareEngineNetworkVPCNetworksTypeEnum added in v1.27.1

type VmwareEngineNetworkVPCNetworksTypeEnum string

The enum VmwareEngineNetworkVPCNetworksTypeEnum.

func VmwareEngineNetworkVPCNetworksTypeEnumRef added in v1.27.1

func VmwareEngineNetworkVPCNetworksTypeEnumRef(s string) *VmwareEngineNetworkVPCNetworksTypeEnum

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

func (VmwareEngineNetworkVPCNetworksTypeEnum) Validate added in v1.27.1

Jump to

Keyboard shortcuts

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