Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.networkconnectivity/v1.getSpoke
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details about a Network Connectivity Center spoke.
Using getSpoke
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSpoke(args: GetSpokeArgs, opts?: InvokeOptions): Promise<GetSpokeResult>
function getSpokeOutput(args: GetSpokeOutputArgs, opts?: InvokeOptions): Output<GetSpokeResult>def get_spoke(location: Optional[str] = None,
              project: Optional[str] = None,
              spoke_id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetSpokeResult
def get_spoke_output(location: Optional[pulumi.Input[str]] = None,
              project: Optional[pulumi.Input[str]] = None,
              spoke_id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetSpokeResult]func LookupSpoke(ctx *Context, args *LookupSpokeArgs, opts ...InvokeOption) (*LookupSpokeResult, error)
func LookupSpokeOutput(ctx *Context, args *LookupSpokeOutputArgs, opts ...InvokeOption) LookupSpokeResultOutput> Note: This function is named LookupSpoke in the Go SDK.
public static class GetSpoke 
{
    public static Task<GetSpokeResult> InvokeAsync(GetSpokeArgs args, InvokeOptions? opts = null)
    public static Output<GetSpokeResult> Invoke(GetSpokeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSpokeResult> getSpoke(GetSpokeArgs args, InvokeOptions options)
public static Output<GetSpokeResult> getSpoke(GetSpokeArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:networkconnectivity/v1:getSpoke
  arguments:
    # arguments dictionaryThe following arguments are supported:
getSpoke Result
The following output properties are available:
- CreateTime string
- The time the spoke was created.
- Description string
- An optional description of the spoke.
- Group string
- Optional. The name of the group that this spoke is associated with.
- Hub string
- Immutable. The name of the hub that this spoke is attached to.
- Labels Dictionary<string, string>
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- LinkedInterconnect Pulumi.Attachments Google Native. Network Connectivity. V1. Outputs. Linked Interconnect Attachments Response 
- VLAN attachments that are associated with the spoke.
- LinkedRouter Pulumi.Appliance Instances Google Native. Network Connectivity. V1. Outputs. Linked Router Appliance Instances Response 
- Router appliance instances that are associated with the spoke.
- LinkedVpc Pulumi.Network Google Native. Network Connectivity. V1. Outputs. Linked Vpc Network Response 
- Optional. VPC network that is associated with the spoke.
- LinkedVpn Pulumi.Tunnels Google Native. Network Connectivity. V1. Outputs. Linked Vpn Tunnels Response 
- VPN tunnels that are associated with the spoke.
- Name string
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- Reasons
List<Pulumi.Google Native. Network Connectivity. V1. Outputs. State Reason Response> 
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- SpokeType string
- The type of resource associated with the spoke.
- State string
- The current lifecycle state of this spoke.
- UniqueId string
- 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.
- UpdateTime string
- The time the spoke was last updated.
- CreateTime string
- The time the spoke was created.
- Description string
- An optional description of the spoke.
- Group string
- Optional. The name of the group that this spoke is associated with.
- Hub string
- Immutable. The name of the hub that this spoke is attached to.
- Labels map[string]string
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- LinkedInterconnect LinkedAttachments Interconnect Attachments Response 
- VLAN attachments that are associated with the spoke.
- LinkedRouter LinkedAppliance Instances Router Appliance Instances Response 
- Router appliance instances that are associated with the spoke.
- LinkedVpc LinkedNetwork Vpc Network Response 
- Optional. VPC network that is associated with the spoke.
- LinkedVpn LinkedTunnels Vpn Tunnels Response 
- VPN tunnels that are associated with the spoke.
- Name string
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- Reasons
[]StateReason Response 
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- SpokeType string
- The type of resource associated with the spoke.
- State string
- The current lifecycle state of this spoke.
- UniqueId string
- 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.
- UpdateTime string
- The time the spoke was last updated.
- createTime String
- The time the spoke was created.
- description String
- An optional description of the spoke.
- group String
- Optional. The name of the group that this spoke is associated with.
- hub String
- Immutable. The name of the hub that this spoke is attached to.
- labels Map<String,String>
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- linkedInterconnect LinkedAttachments Interconnect Attachments Response 
- VLAN attachments that are associated with the spoke.
- linkedRouter LinkedAppliance Instances Router Appliance Instances Response 
- Router appliance instances that are associated with the spoke.
- linkedVpc LinkedNetwork Vpc Network Response 
- Optional. VPC network that is associated with the spoke.
- linkedVpn LinkedTunnels Vpn Tunnels Response 
- VPN tunnels that are associated with the spoke.
- name String
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- reasons
List<StateReason Response> 
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- spokeType String
- The type of resource associated with the spoke.
- state String
- The current lifecycle state of this spoke.
- uniqueId String
- 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.
- updateTime String
- The time the spoke was last updated.
- createTime string
- The time the spoke was created.
- description string
- An optional description of the spoke.
- group string
- Optional. The name of the group that this spoke is associated with.
- hub string
- Immutable. The name of the hub that this spoke is attached to.
- labels {[key: string]: string}
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- linkedInterconnect LinkedAttachments Interconnect Attachments Response 
- VLAN attachments that are associated with the spoke.
- linkedRouter LinkedAppliance Instances Router Appliance Instances Response 
- Router appliance instances that are associated with the spoke.
- linkedVpc LinkedNetwork Vpc Network Response 
- Optional. VPC network that is associated with the spoke.
- linkedVpn LinkedTunnels Vpn Tunnels Response 
- VPN tunnels that are associated with the spoke.
- name string
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- reasons
StateReason Response[] 
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- spokeType string
- The type of resource associated with the spoke.
- state string
- The current lifecycle state of this spoke.
- uniqueId string
- 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.
- updateTime string
- The time the spoke was last updated.
- create_time str
- The time the spoke was created.
- description str
- An optional description of the spoke.
- group str
- Optional. The name of the group that this spoke is associated with.
- hub str
- Immutable. The name of the hub that this spoke is attached to.
- labels Mapping[str, str]
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- linked_interconnect_ Linkedattachments Interconnect Attachments Response 
- VLAN attachments that are associated with the spoke.
- linked_router_ Linkedappliance_ instances Router Appliance Instances Response 
- Router appliance instances that are associated with the spoke.
- linked_vpc_ Linkednetwork Vpc Network Response 
- Optional. VPC network that is associated with the spoke.
- linked_vpn_ Linkedtunnels Vpn Tunnels Response 
- VPN tunnels that are associated with the spoke.
- name str
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- reasons
Sequence[StateReason Response] 
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- spoke_type str
- The type of resource associated with the spoke.
- state str
- The current lifecycle state of this spoke.
- unique_id str
- 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.
- update_time str
- The time the spoke was last updated.
- createTime String
- The time the spoke was created.
- description String
- An optional description of the spoke.
- group String
- Optional. The name of the group that this spoke is associated with.
- hub String
- Immutable. The name of the hub that this spoke is attached to.
- labels Map<String>
- Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
- linkedInterconnect Property MapAttachments 
- VLAN attachments that are associated with the spoke.
- linkedRouter Property MapAppliance Instances 
- Router appliance instances that are associated with the spoke.
- linkedVpc Property MapNetwork 
- Optional. VPC network that is associated with the spoke.
- linkedVpn Property MapTunnels 
- VPN tunnels that are associated with the spoke.
- name String
- Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}
- reasons List<Property Map>
- The reasons for current state of the spoke. Only present when the spoke is in the INACTIVEstate.
- spokeType String
- The type of resource associated with the spoke.
- state String
- The current lifecycle state of this spoke.
- uniqueId String
- 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.
- updateTime String
- The time the spoke was last updated.
Supporting Types
LinkedInterconnectAttachmentsResponse   
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- Uris List<string>
- The URIs of linked interconnect attachment resources
- VpcNetwork string
- The VPC network where these VLAN attachments are located.
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- Uris []string
- The URIs of linked interconnect attachment resources
- VpcNetwork string
- The VPC network where these VLAN attachments are located.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris List<String>
- The URIs of linked interconnect attachment resources
- vpcNetwork String
- The VPC network where these VLAN attachments are located.
- siteTo booleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris string[]
- The URIs of linked interconnect attachment resources
- vpcNetwork string
- The VPC network where these VLAN attachments are located.
- site_to_ boolsite_ data_ transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris Sequence[str]
- The URIs of linked interconnect attachment resources
- vpc_network str
- The VPC network where these VLAN attachments are located.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris List<String>
- The URIs of linked interconnect attachment resources
- vpcNetwork String
- The VPC network where these VLAN attachments are located.
LinkedRouterApplianceInstancesResponse    
- Instances
List<Pulumi.Google Native. Network Connectivity. V1. Inputs. Router Appliance Instance Response> 
- The list of router appliance instances.
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- VpcNetwork string
- The VPC network where these router appliance instances are located.
- Instances
[]RouterAppliance Instance Response 
- The list of router appliance instances.
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- VpcNetwork string
- The VPC network where these router appliance instances are located.
- instances
List<RouterAppliance Instance Response> 
- The list of router appliance instances.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- vpcNetwork String
- The VPC network where these router appliance instances are located.
- instances
RouterAppliance Instance Response[] 
- The list of router appliance instances.
- siteTo booleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- vpcNetwork string
- The VPC network where these router appliance instances are located.
- instances
Sequence[RouterAppliance Instance Response] 
- The list of router appliance instances.
- site_to_ boolsite_ data_ transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- vpc_network str
- The VPC network where these router appliance instances are located.
- instances List<Property Map>
- The list of router appliance instances.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- vpcNetwork String
- The VPC network where these router appliance instances are located.
LinkedVpcNetworkResponse   
- ExcludeExport List<string>Ranges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- Uri string
- The URI of the VPC network resource.
- ExcludeExport []stringRanges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- Uri string
- The URI of the VPC network resource.
- excludeExport List<String>Ranges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri String
- The URI of the VPC network resource.
- excludeExport string[]Ranges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri string
- The URI of the VPC network resource.
- exclude_export_ Sequence[str]ranges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri str
- The URI of the VPC network resource.
- excludeExport List<String>Ranges 
- Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri String
- The URI of the VPC network resource.
LinkedVpnTunnelsResponse   
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- Uris List<string>
- The URIs of linked VPN tunnel resources.
- VpcNetwork string
- The VPC network where these VPN tunnels are located.
- SiteTo boolSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- Uris []string
- The URIs of linked VPN tunnel resources.
- VpcNetwork string
- The VPC network where these VPN tunnels are located.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris List<String>
- The URIs of linked VPN tunnel resources.
- vpcNetwork String
- The VPC network where these VPN tunnels are located.
- siteTo booleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris string[]
- The URIs of linked VPN tunnel resources.
- vpcNetwork string
- The VPC network where these VPN tunnels are located.
- site_to_ boolsite_ data_ transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris Sequence[str]
- The URIs of linked VPN tunnel resources.
- vpc_network str
- The VPC network where these VPN tunnels are located.
- siteTo BooleanSite Data Transfer 
- A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.
- uris List<String>
- The URIs of linked VPN tunnel resources.
- vpcNetwork String
- The VPC network where these VPN tunnels are located.
RouterApplianceInstanceResponse   
- IpAddress string
- The IP address on the VM to use for peering.
- VirtualMachine string
- The URI of the VM.
- IpAddress string
- The IP address on the VM to use for peering.
- VirtualMachine string
- The URI of the VM.
- ipAddress String
- The IP address on the VM to use for peering.
- virtualMachine String
- The URI of the VM.
- ipAddress string
- The IP address on the VM to use for peering.
- virtualMachine string
- The URI of the VM.
- ip_address str
- The IP address on the VM to use for peering.
- virtual_machine str
- The URI of the VM.
- ipAddress String
- The IP address on the VM to use for peering.
- virtualMachine String
- The URI of the VM.
StateReasonResponse  
- Code string
- The code associated with this reason.
- Message string
- Human-readable details about this reason.
- UserDetails string
- Additional information provided by the user in the RejectSpoke call.
- Code string
- The code associated with this reason.
- Message string
- Human-readable details about this reason.
- UserDetails string
- Additional information provided by the user in the RejectSpoke call.
- code String
- The code associated with this reason.
- message String
- Human-readable details about this reason.
- userDetails String
- Additional information provided by the user in the RejectSpoke call.
- code string
- The code associated with this reason.
- message string
- Human-readable details about this reason.
- userDetails string
- Additional information provided by the user in the RejectSpoke call.
- code str
- The code associated with this reason.
- message str
- Human-readable details about this reason.
- user_details str
- Additional information provided by the user in the RejectSpoke call.
- code String
- The code associated with this reason.
- message String
- Human-readable details about this reason.
- userDetails String
- Additional information provided by the user in the RejectSpoke call.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi