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. 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.
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.
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. Package vmware contains methods and types for handling vmware GCP resources.
Index ¶
- Constants
- Variables
- func DCLClusterSchema() *dcl.Schema
- func DCLPrivateCloudSchema() *dcl.Schema
- func DCLVmwareEngineNetworkSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyCluster(ctx context.Context, rawDesired *Cluster, opts ...dcl.ApplyOption) (*Cluster, error)
- func (c *Client) ApplyPrivateCloud(ctx context.Context, rawDesired *PrivateCloud, opts ...dcl.ApplyOption) (*PrivateCloud, error)
- func (c *Client) ApplyVmwareEngineNetwork(ctx context.Context, rawDesired *VmwareEngineNetwork, opts ...dcl.ApplyOption) (*VmwareEngineNetwork, error)
- func (c *Client) DeleteAllCluster(ctx context.Context, project, location, privateCloud string, ...) error
- func (c *Client) DeleteAllPrivateCloud(ctx context.Context, project, location string, filter func(*PrivateCloud) bool) error
- func (c *Client) DeleteAllVmwareEngineNetwork(ctx context.Context, project, location string, ...) error
- func (c *Client) DeleteCluster(ctx context.Context, r *Cluster) error
- func (c *Client) DeletePrivateCloud(ctx context.Context, r *PrivateCloud) error
- func (c *Client) DeleteVmwareEngineNetwork(ctx context.Context, r *VmwareEngineNetwork) error
- func (c *Client) GetCluster(ctx context.Context, r *Cluster) (*Cluster, error)
- func (c *Client) GetPrivateCloud(ctx context.Context, r *PrivateCloud) (*PrivateCloud, error)
- func (c *Client) GetVmwareEngineNetwork(ctx context.Context, r *VmwareEngineNetwork) (*VmwareEngineNetwork, error)
- func (c *Client) ListCluster(ctx context.Context, project, location, privateCloud string) (*ClusterList, error)
- func (c *Client) ListClusterWithMaxResults(ctx context.Context, project, location, privateCloud string, pageSize int32) (*ClusterList, error)
- func (c *Client) ListPrivateCloud(ctx context.Context, project, location string) (*PrivateCloudList, error)
- func (c *Client) ListPrivateCloudWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*PrivateCloudList, error)
- func (c *Client) ListVmwareEngineNetwork(ctx context.Context, project, location string) (*VmwareEngineNetworkList, error)
- func (c *Client) ListVmwareEngineNetworkWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*VmwareEngineNetworkList, error)
- type Cluster
- type ClusterList
- type ClusterStateEnum
- type PrivateCloud
- func (r *PrivateCloud) Describe() dcl.ServiceTypeVersion
- func (r *PrivateCloud) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *PrivateCloud) IAMPolicyVersion() int
- func (r *PrivateCloud) ID() (string, error)
- func (r *PrivateCloud) SetPolicyURL(userBasePath string) string
- func (r *PrivateCloud) SetPolicyVerb() string
- func (r *PrivateCloud) String() string
- type PrivateCloudConditions
- type PrivateCloudHcx
- type PrivateCloudHcxStateEnum
- type PrivateCloudList
- type PrivateCloudManagementCluster
- type PrivateCloudNetworkConfig
- type PrivateCloudNetworkConfigIPAddressLayoutVersionEnum
- type PrivateCloudNsx
- type PrivateCloudNsxStateEnum
- type PrivateCloudStateEnum
- type PrivateCloudVcenter
- type PrivateCloudVcenterStateEnum
- type VmwareEngineNetwork
- type VmwareEngineNetworkList
- type VmwareEngineNetworkStateEnum
- type VmwareEngineNetworkTypeEnum
- type VmwareEngineNetworkVPCNetworks
- type VmwareEngineNetworkVPCNetworksTypeEnum
Constants ¶
const ClusterMaxPage = -1
const PrivateCloudMaxPage = -1
const VmwareEngineNetworkMaxPage = -1
Variables ¶
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 - nodeTypeId\n - nodeCount\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 in RFC3339 text\n format.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Optional. Checksum that may be sent on update and delete requests\n to ensure that the user-provided value is up to date before the server\n processes a request. The server computes checksums based on the value\n of other fields 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 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: 'The resource name of this cluster. Resource names are schemeless\n 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 nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeCustomCoreCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCustomCoreCount\n description: Optional. Customized number of cores available to each node\n of the cluster. This number must always be one of `NodeType.available_custom_core_counts`.\n If zero is provided max value from `NodeType.available_custom_core_counts`\n will be used.\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n privateCloud:\n type: string\n x-dcl-go-name: PrivateCloud\n description: The privateCloud for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Vmware/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, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\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 in RFC3339 text\n format.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/cluster.yaml
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 conditions:\n type: array\n x-dcl-go-name: Conditions\n readOnly: true\n description: Output only. The conditions that caused the current private\n cloud state. For example, private cloud provisioning failure description.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PrivateCloudConditions\n properties:\n code:\n type: string\n x-dcl-go-name: Code\n readOnly: true\n description: Output only. Machine-readable representation of the condition.\n x-kubernetes-immutable: true\n message:\n type: string\n x-dcl-go-name: Message\n readOnly: true\n description: Output only. Human-readable description of the condition.\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. Creation time of this resource in RFC3339 text\n format.\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 the resource was marked as deleted, in RFC3339\n text format.\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 etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Checksum that may be sent on update, delete, and undelete requests\n to ensure that the user-provided value is up to date before the server\n processes a request. The server computes checksums based on the value\n of other fields in the request.\n x-kubernetes-immutable: true\n expireTime:\n type: string\n format: date-time\n x-dcl-go-name: ExpireTime\n readOnly: true\n description: Output only. Planned deletion time of this resource in RFC3339\n text format.\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 x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n fqdn:\n type: string\n x-dcl-go-name: Fqdn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\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, 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 version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\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 managementCluster:\n type: object\n x-dcl-go-name: ManagementCluster\n x-dcl-go-type: PrivateCloudManagementCluster\n description: Input only. The management cluster for this private cloud.\n This parameter is required during creation of private cloud to provide\n details for the default cluster.\n x-dcl-mutable-unreadable: true\n required:\n - clusterId\n - nodeTypeId\n - nodeCount\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 x-kubernetes-immutable: true\n nodeCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCount\n description: Required. Number of nodes in this cluster.\n nodeCustomCoreCount:\n type: integer\n format: int64\n x-dcl-go-name: NodeCustomCoreCount\n description: Optional. Customized number of cores available to each\n node of the cluster. This number must always be one of `NodeType.available_custom_core_counts`.\n If zero is provided max value from `NodeType.available_custom_core_counts`\n will be used.\n x-kubernetes-immutable: true\n nodeTypeId:\n type: string\n x-dcl-go-name: NodeTypeId\n description: 'Required. The canonical identifier of node types (`NodeType`)\n in this cluster. For example: standard-72.'\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'The resource name of this private cloud. Resource names are\n 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.\n x-kubernetes-immutable: true\n required:\n - managementCidr\n - vmwareEngineNetwork\n properties:\n ipAddressLayoutVersion:\n type: string\n x-dcl-go-name: IPAddressLayoutVersion\n x-dcl-go-type: PrivateCloudNetworkConfigIPAddressLayoutVersionEnum\n readOnly: true\n description: 'Output only. IP address layout version of the management\n IP address range. Possible values: IP_ADDRESS_LAYOUT_VERSION_UNSPECIFIED,\n VERSION_1, VERSION_2'\n x-kubernetes-immutable: true\n enum:\n - IP_ADDRESS_LAYOUT_VERSION_UNSPECIFIED\n - VERSION_1\n - VERSION_2\n managementCidr:\n type: string\n x-dcl-go-name: ManagementCidr\n description: Required. Management CIDR used by VMWare management appliances.\n x-kubernetes-immutable: true\n network:\n type: string\n x-dcl-go-name: Network\n description: 'Optional. The relative resource name of the consumer VPC\n network this private cloud is attached to. Specify the name in the\n following form: `projects/{project}/global/networks/{network_id}`\n where `{project}` can either be a project number or a project ID.'\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: name\n serviceNetwork:\n type: string\n x-dcl-go-name: ServiceNetwork\n readOnly: true\n description: 'Output only. The relative resource name of the service\n VPC network this private cloud is attached to. The name is specified\n in the following form: `projects/{service_project_number}/global/networks/{network_id}`.'\n x-kubernetes-immutable: true\n vmwareEngineNetwork:\n type: string\n x-dcl-go-name: VmwareEngineNetwork\n description: Required. The relative resource name of the VMware Engine\n network attached to the private cloud.\n x-kubernetes-immutable: true\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-kubernetes-immutable: true\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 x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n fqdn:\n type: string\n x-dcl-go-name: Fqdn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\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, 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 version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\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: PrivateCloudStateEnum\n readOnly: true\n description: 'Output only. State of the resource. Possible values: ACTIVE,\n CREATING, UPDATING, FAILED, DELETED'\n x-kubernetes-immutable: true\n enum:\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\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 in RFC3339 text\n format.\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 x-kubernetes-immutable: true\n properties:\n externalIP:\n type: string\n x-dcl-go-name: ExternalIP\n description: External IP address of the appliance.\n x-kubernetes-immutable: true\n fdqn:\n type: string\n x-dcl-go-name: Fdqn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n fqdn:\n type: string\n x-dcl-go-name: Fqdn\n description: Fully qualified domain name of the appliance.\n x-kubernetes-immutable: true\n internalIP:\n type: string\n x-dcl-go-name: InternalIP\n description: Internal IP address of the appliance.\n x-kubernetes-immutable: true\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, 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 version:\n type: string\n x-dcl-go-name: Version\n description: Version of the appliance.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vmware/alpha/private_cloud.yaml
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, ACTIVE, CREATING, UPDATING, FAILED, DELETED,\n PURGING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - UPDATING\n - FAILED\n - DELETED\n - PURGING\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: PATH,\n OTHER, PARAMETER'\n x-kubernetes-immutable: true\n enum:\n - PATH\n - OTHER\n - PARAMETER\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: name\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: PATH, OTHER, PARAMETER'\n x-kubernetes-immutable: true\n enum:\n - PATH\n - OTHER\n - PARAMETER\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 DCLPrivateCloudSchema ¶ added in v1.10.3
func DCLVmwareEngineNetworkSchema ¶ added in v1.27.1
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyCluster ¶
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 (*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 (*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 (*Client) ListClusterWithMaxResults ¶
func (*Client) ListPrivateCloud ¶
func (*Client) ListPrivateCloudWithMaxResults ¶
func (*Client) ListVmwareEngineNetwork ¶ added in v1.27.1
func (*Client) ListVmwareEngineNetworkWithMaxResults ¶ added in v1.27.1
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"` NodeTypeId *string `json:"nodeTypeId"` NodeCount *int64 `json:"nodeCount"` Project *string `json:"project"` Location *string `json:"location"` PrivateCloud *string `json:"privateCloud"` NodeCustomCoreCount *int64 `json:"nodeCustomCoreCount"` Uid *string `json:"uid"` Etag *string `json:"etag"` }
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.
type ClusterList ¶
type ClusterList struct { Items []*Cluster // contains filtered or unexported fields }
func (*ClusterList) HasNext ¶
func (l *ClusterList) HasNext() bool
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"` Conditions []PrivateCloudConditions `json:"conditions"` Hcx *PrivateCloudHcx `json:"hcx"` Nsx *PrivateCloudNsx `json:"nsx"` Vcenter *PrivateCloudVcenter `json:"vcenter"` Project *string `json:"project"` Location *string `json:"location"` Uid *string `json:"uid"` Etag *string `json:"etag"` }
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) 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 PrivateCloudConditions ¶
type PrivateCloudConditions struct { Code *string `json:"code"` Message *string `json:"message"` // contains filtered or unexported fields }
var EmptyPrivateCloudConditions *PrivateCloudConditions = &PrivateCloudConditions{empty: true}
This object is used to assert a desired state where this PrivateCloudConditions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*PrivateCloudConditions) Empty ¶
func (r *PrivateCloudConditions) Empty() bool
func (*PrivateCloudConditions) HashCode ¶
func (r *PrivateCloudConditions) HashCode() string
func (*PrivateCloudConditions) String ¶
func (r *PrivateCloudConditions) String() string
func (*PrivateCloudConditions) UnmarshalJSON ¶
func (r *PrivateCloudConditions) UnmarshalJSON(data []byte) error
type PrivateCloudHcx ¶
type PrivateCloudHcx struct { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` 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
type PrivateCloudManagementCluster ¶
type PrivateCloudManagementCluster struct { ClusterId *string `json:"clusterId"` NodeTypeId *string `json:"nodeTypeId"` NodeCount *int64 `json:"nodeCount"` NodeCustomCoreCount *int64 `json:"nodeCustomCoreCount"` // 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 (r *PrivateCloudManagementCluster) Empty() bool
func (*PrivateCloudManagementCluster) HashCode ¶
func (r *PrivateCloudManagementCluster) HashCode() string
func (*PrivateCloudManagementCluster) String ¶
func (r *PrivateCloudManagementCluster) String() string
func (*PrivateCloudManagementCluster) UnmarshalJSON ¶
func (r *PrivateCloudManagementCluster) UnmarshalJSON(data []byte) error
type PrivateCloudNetworkConfig ¶
type PrivateCloudNetworkConfig struct { Network *string `json:"network"` ServiceNetwork *string `json:"serviceNetwork"` ManagementCidr *string `json:"managementCidr"` VmwareEngineNetwork *string `json:"vmwareEngineNetwork"` VmwareEngineNetworkCanonical *string `json:"vmwareEngineNetworkCanonical"` IPAddressLayoutVersion *PrivateCloudNetworkConfigIPAddressLayoutVersionEnum `json:"ipAddressLayoutVersion"` // 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 PrivateCloudNetworkConfigIPAddressLayoutVersionEnum ¶ added in v1.27.1
type PrivateCloudNetworkConfigIPAddressLayoutVersionEnum string
The enum PrivateCloudNetworkConfigIPAddressLayoutVersionEnum.
func PrivateCloudNetworkConfigIPAddressLayoutVersionEnumRef ¶ added in v1.27.1
func PrivateCloudNetworkConfigIPAddressLayoutVersionEnumRef(s string) *PrivateCloudNetworkConfigIPAddressLayoutVersionEnum
PrivateCloudNetworkConfigIPAddressLayoutVersionEnumRef returns a *PrivateCloudNetworkConfigIPAddressLayoutVersionEnum with the value of string s If the empty string is provided, nil is returned.
func (PrivateCloudNetworkConfigIPAddressLayoutVersionEnum) Validate ¶ added in v1.27.1
func (v PrivateCloudNetworkConfigIPAddressLayoutVersionEnum) Validate() error
type PrivateCloudNsx ¶
type PrivateCloudNsx struct { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` 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 { Fdqn *string `json:"fdqn"` InternalIP *string `json:"internalIP"` ExternalIP *string `json:"externalIP"` 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
func (r *VmwareEngineNetwork) Describe() dcl.ServiceTypeVersion
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
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 (r *VmwareEngineNetworkVPCNetworks) Empty() bool
func (*VmwareEngineNetworkVPCNetworks) HashCode ¶ added in v1.27.1
func (r *VmwareEngineNetworkVPCNetworks) HashCode() string
func (*VmwareEngineNetworkVPCNetworks) String ¶ added in v1.27.1
func (r *VmwareEngineNetworkVPCNetworks) String() string
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
func (v VmwareEngineNetworkVPCNetworksTypeEnum) Validate() error
Source Files ¶
- client.go
- cluster.go
- cluster_alpha_yaml_embed.go
- cluster_internal.go
- cluster_schema.go
- private_cloud.go
- private_cloud_alpha_yaml_embed.go
- private_cloud_internal.go
- private_cloud_schema.go
- vmware_engine_network.go
- vmware_engine_network_alpha_yaml_embed.go
- vmware_engine_network_internal.go
- vmware_engine_network_schema.go
- vmware_utils.go