Documentation ¶
Overview ¶
Copyright 2024 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 2024 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 2024 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 2024 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 2024 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 2024 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 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLHubSchema() *dcl.Schema
- func DCLSpokeSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyHub(ctx context.Context, rawDesired *Hub, opts ...dcl.ApplyOption) (*Hub, error)
- func (c *Client) ApplySpoke(ctx context.Context, rawDesired *Spoke, opts ...dcl.ApplyOption) (*Spoke, error)
- func (c *Client) DeleteAllHub(ctx context.Context, project string, filter func(*Hub) bool) error
- func (c *Client) DeleteAllSpoke(ctx context.Context, project, location string, filter func(*Spoke) bool) error
- func (c *Client) DeleteHub(ctx context.Context, r *Hub) error
- func (c *Client) DeleteSpoke(ctx context.Context, r *Spoke) error
- func (c *Client) GetHub(ctx context.Context, r *Hub) (*Hub, error)
- func (c *Client) GetSpoke(ctx context.Context, r *Spoke) (*Spoke, error)
- func (c *Client) ListHub(ctx context.Context, project string) (*HubList, error)
- func (c *Client) ListHubWithMaxResults(ctx context.Context, project string, pageSize int32) (*HubList, error)
- func (c *Client) ListSpoke(ctx context.Context, project, location string) (*SpokeList, error)
- func (c *Client) ListSpokeWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*SpokeList, error)
- type Hub
- type HubList
- type HubRoutingVpcs
- type HubStateEnum
- type Spoke
- type SpokeLinkedInterconnectAttachments
- type SpokeLinkedRouterApplianceInstances
- type SpokeLinkedRouterApplianceInstancesInstances
- type SpokeLinkedVPCNetwork
- type SpokeLinkedVpnTunnels
- type SpokeList
- type SpokeStateEnum
Constants ¶
const HubMaxPage = -1
const SpokeMaxPage = -1
Variables ¶
var YAML_hub = []byte("info:\n title: NetworkConnectivity/Hub\n description: The NetworkConnectivity Hub resource\n x-dcl-struct-name: Hub\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Hub\n parameters:\n - name: hub\n required: true\n description: A full instance of a Hub\n apply:\n description: The function used to apply information about a Hub\n parameters:\n - name: hub\n required: true\n description: A full instance of a Hub\n delete:\n description: The function used to delete a Hub\n parameters:\n - name: hub\n required: true\n description: A full instance of a Hub\n deleteAll:\n description: The function used to delete all Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Hub\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Hub:\n title: Hub\n x-dcl-id: projects/{{project}}/locations/global/hubs/{{name}}\n x-dcl-locations:\n - global\n x-dcl-parent-container: project\n x-dcl-labels: labels\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 - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time the hub was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the hub.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. The name of the hub. Hub names must be unique.\n They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`'\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 routingVpcs:\n type: array\n x-dcl-go-name: RoutingVpcs\n readOnly: true\n description: The VPC network associated with this hub's spokes. All of the\n VPN tunnels, VLAN attachments, and router appliance instances referenced\n by this hub's spokes must belong to this VPC network. This field is read-only.\n Network Connectivity Center automatically populates it based on the set\n of spokes attached to the hub.\n x-kubernetes-immutable: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: HubRoutingVpcs\n properties:\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network.\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: HubStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this hub. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the hub. This value\n is unique across all hub resources. If a hub is deleted and another with\n the same name is created, the new hub is assigned a different unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the hub was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/alpha/hub.yaml
var YAML_spoke = []byte("info:\n title: NetworkConnectivity/Spoke\n description: The NetworkConnectivity Spoke resource\n x-dcl-struct-name: Spoke\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Spoke\n parameters:\n - name: spoke\n required: true\n description: A full instance of a Spoke\n apply:\n description: The function used to apply information about a Spoke\n parameters:\n - name: spoke\n required: true\n description: A full instance of a Spoke\n delete:\n description: The function used to delete a Spoke\n parameters:\n - name: spoke\n required: true\n description: A full instance of a Spoke\n deleteAll:\n description: The function used to delete all Spoke\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 Spoke\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 Spoke:\n title: Spoke\n x-dcl-id: projects/{{project}}/locations/{{location}}/spokes/{{name}}\n x-dcl-parent-container: project\n x-dcl-labels: labels\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 - hub\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. The time the spoke was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: An optional description of the spoke.\n hub:\n type: string\n x-dcl-go-name: Hub\n description: Immutable. The URI of the hub that this spoke is attached to.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Networkconnectivity/Hub\n field: name\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional labels in key:value format. For more information about\n labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).\n linkedInterconnectAttachments:\n type: object\n x-dcl-go-name: LinkedInterconnectAttachments\n x-dcl-go-type: SpokeLinkedInterconnectAttachments\n description: A collection of VLAN attachment resources. These resources\n should be redundant attachments that all advertise the same prefixes to\n Google Cloud. Alternatively, in active/passive configurations, all attachments\n should be capable of advertising the same prefixes.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedRouterApplianceInstances\n - linkedVPCNetwork\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked interconnect attachment resources\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/InterconnectAttachment\n field: selfLink\n linkedRouterApplianceInstances:\n type: object\n x-dcl-go-name: LinkedRouterApplianceInstances\n x-dcl-go-type: SpokeLinkedRouterApplianceInstances\n description: The URIs of linked Router appliance resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n - linkedVPCNetwork\n required:\n - instances\n - siteToSiteDataTransfer\n properties:\n instances:\n type: array\n x-dcl-go-name: Instances\n description: The list of router appliance instances\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: SpokeLinkedRouterApplianceInstancesInstances\n properties:\n ipAddress:\n type: string\n x-dcl-go-name: IPAddress\n description: The IP address on the VM to use for peering.\n x-kubernetes-immutable: true\n virtualMachine:\n type: string\n x-dcl-go-name: VirtualMachine\n description: The URI of the virtual machine resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Instance\n field: selfLink\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n linkedVPCNetwork:\n type: object\n x-dcl-go-name: LinkedVPCNetwork\n x-dcl-go-type: SpokeLinkedVPCNetwork\n description: VPC network that is associated with the spoke.\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedVpnTunnels\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n required:\n - uri\n properties:\n excludeExportRanges:\n type: array\n x-dcl-go-name: ExcludeExportRanges\n description: IP ranges encompassing the subnets to be excluded from\n peering.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n uri:\n type: string\n x-dcl-go-name: Uri\n description: The URI of the VPC network resource.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Compute/Network\n field: selfLink\n linkedVpnTunnels:\n type: object\n x-dcl-go-name: LinkedVpnTunnels\n x-dcl-go-type: SpokeLinkedVpnTunnels\n description: The URIs of linked VPN tunnel resources\n x-kubernetes-immutable: true\n x-dcl-conflicts:\n - linkedInterconnectAttachments\n - linkedRouterApplianceInstances\n - linkedVPCNetwork\n required:\n - uris\n - siteToSiteDataTransfer\n properties:\n siteToSiteDataTransfer:\n type: boolean\n x-dcl-go-name: SiteToSiteDataTransfer\n description: A value that controls whether site-to-site data transfer\n is enabled for these resources. Note that data transfer is available\n only in supported locations.\n x-kubernetes-immutable: true\n uris:\n type: array\n x-dcl-go-name: Uris\n description: The URIs of linked VPN tunnel resources.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/VpnTunnel\n field: selfLink\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: Immutable. The name of the spoke. Spoke names must be unique.\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: SpokeStateEnum\n readOnly: true\n description: 'Output only. The current lifecycle state of this spoke. Possible\n values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - CREATING\n - ACTIVE\n - DELETING\n uniqueId:\n type: string\n x-dcl-go-name: UniqueId\n readOnly: true\n description: Output only. The Google-generated UUID for the spoke. This\n value is unique across all spoke resources. If a spoke is deleted and\n another with the same name is created, the new spoke is assigned a different\n unique_id.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time the spoke was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkconnectivity/alpha/spoke.yaml
Functions ¶
func DCLHubSchema ¶ added in v1.10.3
func DCLSpokeSchema ¶ added in v1.10.3
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) ApplySpoke ¶
func (*Client) DeleteAllHub ¶
DeleteAllHub deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllSpoke ¶
func (c *Client) DeleteAllSpoke(ctx context.Context, project, location string, filter func(*Spoke) bool) error
DeleteAllSpoke deletes all resources that the filter functions returns true on.
func (*Client) ListHubWithMaxResults ¶
type Hub ¶
type Hub struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Description *string `json:"description"` UniqueId *string `json:"uniqueId"` State *HubStateEnum `json:"state"` Project *string `json:"project"` RoutingVpcs []HubRoutingVpcs `json:"routingVpcs"` }
func (*Hub) Describe ¶
func (r *Hub) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type HubRoutingVpcs ¶
type HubRoutingVpcs struct { Uri *string `json:"uri"` // contains filtered or unexported fields }
var EmptyHubRoutingVpcs *HubRoutingVpcs = &HubRoutingVpcs{empty: true}
This object is used to assert a desired state where this HubRoutingVpcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*HubRoutingVpcs) Empty ¶
func (r *HubRoutingVpcs) Empty() bool
func (*HubRoutingVpcs) HashCode ¶
func (r *HubRoutingVpcs) HashCode() string
func (*HubRoutingVpcs) String ¶
func (r *HubRoutingVpcs) String() string
func (*HubRoutingVpcs) UnmarshalJSON ¶
func (r *HubRoutingVpcs) UnmarshalJSON(data []byte) error
type HubStateEnum ¶
type HubStateEnum string
The enum HubStateEnum.
func HubStateEnumRef ¶
func HubStateEnumRef(s string) *HubStateEnum
HubStateEnumRef returns a *HubStateEnum with the value of string s If the empty string is provided, nil is returned.
func (HubStateEnum) Validate ¶
func (v HubStateEnum) Validate() error
type Spoke ¶
type Spoke struct { Name *string `json:"name"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Description *string `json:"description"` Hub *string `json:"hub"` LinkedVpnTunnels *SpokeLinkedVpnTunnels `json:"linkedVpnTunnels"` LinkedInterconnectAttachments *SpokeLinkedInterconnectAttachments `json:"linkedInterconnectAttachments"` LinkedRouterApplianceInstances *SpokeLinkedRouterApplianceInstances `json:"linkedRouterApplianceInstances"` LinkedVPCNetwork *SpokeLinkedVPCNetwork `json:"linkedVPCNetwork"` UniqueId *string `json:"uniqueId"` State *SpokeStateEnum `json:"state"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Spoke) Describe ¶
func (r *Spoke) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type SpokeLinkedInterconnectAttachments ¶
type SpokeLinkedInterconnectAttachments struct { Uris []string `json:"uris"` SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer"` // contains filtered or unexported fields }
var EmptySpokeLinkedInterconnectAttachments *SpokeLinkedInterconnectAttachments = &SpokeLinkedInterconnectAttachments{empty: true}
This object is used to assert a desired state where this SpokeLinkedInterconnectAttachments is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*SpokeLinkedInterconnectAttachments) Empty ¶
func (r *SpokeLinkedInterconnectAttachments) Empty() bool
func (*SpokeLinkedInterconnectAttachments) HashCode ¶
func (r *SpokeLinkedInterconnectAttachments) HashCode() string
func (*SpokeLinkedInterconnectAttachments) String ¶
func (r *SpokeLinkedInterconnectAttachments) String() string
func (*SpokeLinkedInterconnectAttachments) UnmarshalJSON ¶
func (r *SpokeLinkedInterconnectAttachments) UnmarshalJSON(data []byte) error
type SpokeLinkedRouterApplianceInstances ¶
type SpokeLinkedRouterApplianceInstances struct { Instances []SpokeLinkedRouterApplianceInstancesInstances `json:"instances"` SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer"` // contains filtered or unexported fields }
var EmptySpokeLinkedRouterApplianceInstances *SpokeLinkedRouterApplianceInstances = &SpokeLinkedRouterApplianceInstances{empty: true}
This object is used to assert a desired state where this SpokeLinkedRouterApplianceInstances is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*SpokeLinkedRouterApplianceInstances) Empty ¶
func (r *SpokeLinkedRouterApplianceInstances) Empty() bool
func (*SpokeLinkedRouterApplianceInstances) HashCode ¶
func (r *SpokeLinkedRouterApplianceInstances) HashCode() string
func (*SpokeLinkedRouterApplianceInstances) String ¶
func (r *SpokeLinkedRouterApplianceInstances) String() string
func (*SpokeLinkedRouterApplianceInstances) UnmarshalJSON ¶
func (r *SpokeLinkedRouterApplianceInstances) UnmarshalJSON(data []byte) error
type SpokeLinkedRouterApplianceInstancesInstances ¶
type SpokeLinkedRouterApplianceInstancesInstances struct { VirtualMachine *string `json:"virtualMachine"` IPAddress *string `json:"ipAddress"` // contains filtered or unexported fields }
var EmptySpokeLinkedRouterApplianceInstancesInstances *SpokeLinkedRouterApplianceInstancesInstances = &SpokeLinkedRouterApplianceInstancesInstances{empty: true}
This object is used to assert a desired state where this SpokeLinkedRouterApplianceInstancesInstances is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*SpokeLinkedRouterApplianceInstancesInstances) Empty ¶
func (r *SpokeLinkedRouterApplianceInstancesInstances) Empty() bool
func (*SpokeLinkedRouterApplianceInstancesInstances) HashCode ¶
func (r *SpokeLinkedRouterApplianceInstancesInstances) HashCode() string
func (*SpokeLinkedRouterApplianceInstancesInstances) String ¶
func (r *SpokeLinkedRouterApplianceInstancesInstances) String() string
func (*SpokeLinkedRouterApplianceInstancesInstances) UnmarshalJSON ¶
func (r *SpokeLinkedRouterApplianceInstancesInstances) UnmarshalJSON(data []byte) error
type SpokeLinkedVPCNetwork ¶ added in v1.51.0
type SpokeLinkedVPCNetwork struct { Uri *string `json:"uri"` ExcludeExportRanges []string `json:"excludeExportRanges"` // contains filtered or unexported fields }
var EmptySpokeLinkedVPCNetwork *SpokeLinkedVPCNetwork = &SpokeLinkedVPCNetwork{empty: true}
This object is used to assert a desired state where this SpokeLinkedVPCNetwork is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*SpokeLinkedVPCNetwork) Empty ¶ added in v1.51.0
func (r *SpokeLinkedVPCNetwork) Empty() bool
func (*SpokeLinkedVPCNetwork) HashCode ¶ added in v1.51.0
func (r *SpokeLinkedVPCNetwork) HashCode() string
func (*SpokeLinkedVPCNetwork) String ¶ added in v1.51.0
func (r *SpokeLinkedVPCNetwork) String() string
func (*SpokeLinkedVPCNetwork) UnmarshalJSON ¶ added in v1.51.0
func (r *SpokeLinkedVPCNetwork) UnmarshalJSON(data []byte) error
type SpokeLinkedVpnTunnels ¶
type SpokeLinkedVpnTunnels struct { Uris []string `json:"uris"` SiteToSiteDataTransfer *bool `json:"siteToSiteDataTransfer"` // contains filtered or unexported fields }
var EmptySpokeLinkedVpnTunnels *SpokeLinkedVpnTunnels = &SpokeLinkedVpnTunnels{empty: true}
This object is used to assert a desired state where this SpokeLinkedVpnTunnels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*SpokeLinkedVpnTunnels) Empty ¶
func (r *SpokeLinkedVpnTunnels) Empty() bool
func (*SpokeLinkedVpnTunnels) HashCode ¶
func (r *SpokeLinkedVpnTunnels) HashCode() string
func (*SpokeLinkedVpnTunnels) String ¶
func (r *SpokeLinkedVpnTunnels) String() string
func (*SpokeLinkedVpnTunnels) UnmarshalJSON ¶
func (r *SpokeLinkedVpnTunnels) UnmarshalJSON(data []byte) error
type SpokeStateEnum ¶
type SpokeStateEnum string
The enum SpokeStateEnum.
func SpokeStateEnumRef ¶
func SpokeStateEnumRef(s string) *SpokeStateEnum
SpokeStateEnumRef returns a *SpokeStateEnum with the value of string s If the empty string is provided, nil is returned.
func (SpokeStateEnum) Validate ¶
func (v SpokeStateEnum) Validate() error