Skip to main content

spokes

Overview

Namespokes
TypeResource
Idgoogle.networkconnectivity.spokes

Fields

NameDatatypeDescription
namestringImmutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
descriptionstringAn optional description of the spoke.
linkedRouterApplianceInstancesobjectA collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.
uniqueIdstringOutput only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
reasonsarrayOutput only. The reasons for current state of the spoke. Only present when the spoke is in the INACTIVE state.
linkedVpnTunnelsobjectA collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.
createTimestringOutput only. The time the spoke was created.
spokeTypestringOutput only. The type of resource associated with the spoke.
updateTimestringOutput only. The time the spoke was last updated.
linkedInterconnectAttachmentsobjectA collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
groupstringThe name of the group that this spoke is associated with.
hubstringImmutable. The name of the hub that this spoke is attached to.
labelsobjectOptional labels in key:value format. For more information about labels, see Requirements for labels.
statestringOutput only. The current lifecycle state of this spoke.
linkedVpcNetworkobjectAn existing VPC network.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, spokesIdGets details about a Network Connectivity Center spoke.
listSELECTlocationsId, projectsIdLists the Network Connectivity Center spokes in a specified project and location.
list_spokesSELECThubsId, projectsIdLists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.
createINSERTlocationsId, projectsIdCreates a Network Connectivity Center spoke.
deleteDELETElocationsId, projectsId, spokesIdDeletes a Network Connectivity Center spoke.
_listEXEClocationsId, projectsIdLists the Network Connectivity Center spokes in a specified project and location.
_list_spokesEXEChubsId, projectsIdLists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.
acceptEXEClocationsId, projectsId, spokesIdAccepts a proposal to attach a Network Connectivity Center spoke to the hub.
patchEXEClocationsId, projectsId, spokesIdUpdates the parameters of a Network Connectivity Center spoke.
rejectEXEClocationsId, projectsId, spokesIdRejects a Network Connectivity Center spoke from being attached to the hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.