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/v1alpha1.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/v1alpha1:getSpoke
  arguments:
    # arguments dictionaryThe following arguments are supported:
getSpoke Result
The following output properties are available:
- CreateTime string
- The time when the Spoke was created.
- Description string
- Short description of the spoke resource
- Hub string
- The resource URL of the hub resource that the spoke is attached to
- Labels Dictionary<string, string>
- User-defined labels.
- LinkedInterconnect List<string>Attachments 
- The URIs of linked interconnect attachment resources
- LinkedRouter List<Pulumi.Appliance Instances Google Native. Network Connectivity. V1Alpha1. Outputs. Router Appliance Instance Response> 
- The URIs of linked Router appliance resources
- LinkedVpn List<string>Tunnels 
- The URIs of linked VPN tunnel resources
- Name string
- Immutable. The name of a Spoke resource.
- State string
- The current lifecycle state of this Hub.
- UniqueId string
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- UpdateTime string
- The time when the Spoke was updated.
- CreateTime string
- The time when the Spoke was created.
- Description string
- Short description of the spoke resource
- Hub string
- The resource URL of the hub resource that the spoke is attached to
- Labels map[string]string
- User-defined labels.
- LinkedInterconnect []stringAttachments 
- The URIs of linked interconnect attachment resources
- LinkedRouter []RouterAppliance Instances Appliance Instance Response 
- The URIs of linked Router appliance resources
- LinkedVpn []stringTunnels 
- The URIs of linked VPN tunnel resources
- Name string
- Immutable. The name of a Spoke resource.
- State string
- The current lifecycle state of this Hub.
- UniqueId string
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- UpdateTime string
- The time when the Spoke was updated.
- createTime String
- The time when the Spoke was created.
- description String
- Short description of the spoke resource
- hub String
- The resource URL of the hub resource that the spoke is attached to
- labels Map<String,String>
- User-defined labels.
- linkedInterconnect List<String>Attachments 
- The URIs of linked interconnect attachment resources
- linkedRouter List<RouterAppliance Instances Appliance Instance Response> 
- The URIs of linked Router appliance resources
- linkedVpn List<String>Tunnels 
- The URIs of linked VPN tunnel resources
- name String
- Immutable. The name of a Spoke resource.
- state String
- The current lifecycle state of this Hub.
- uniqueId String
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- updateTime String
- The time when the Spoke was updated.
- createTime string
- The time when the Spoke was created.
- description string
- Short description of the spoke resource
- hub string
- The resource URL of the hub resource that the spoke is attached to
- labels {[key: string]: string}
- User-defined labels.
- linkedInterconnect string[]Attachments 
- The URIs of linked interconnect attachment resources
- linkedRouter RouterAppliance Instances Appliance Instance Response[] 
- The URIs of linked Router appliance resources
- linkedVpn string[]Tunnels 
- The URIs of linked VPN tunnel resources
- name string
- Immutable. The name of a Spoke resource.
- state string
- The current lifecycle state of this Hub.
- uniqueId string
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- updateTime string
- The time when the Spoke was updated.
- create_time str
- The time when the Spoke was created.
- description str
- Short description of the spoke resource
- hub str
- The resource URL of the hub resource that the spoke is attached to
- labels Mapping[str, str]
- User-defined labels.
- linked_interconnect_ Sequence[str]attachments 
- The URIs of linked interconnect attachment resources
- linked_router_ Sequence[Routerappliance_ instances Appliance Instance Response] 
- The URIs of linked Router appliance resources
- linked_vpn_ Sequence[str]tunnels 
- The URIs of linked VPN tunnel resources
- name str
- Immutable. The name of a Spoke resource.
- state str
- The current lifecycle state of this Hub.
- unique_id str
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- update_time str
- The time when the Spoke was updated.
- createTime String
- The time when the Spoke was created.
- description String
- Short description of the spoke resource
- hub String
- The resource URL of the hub resource that the spoke is attached to
- labels Map<String>
- User-defined labels.
- linkedInterconnect List<String>Attachments 
- The URIs of linked interconnect attachment resources
- linkedRouter List<Property Map>Appliance Instances 
- The URIs of linked Router appliance resources
- linkedVpn List<String>Tunnels 
- The URIs of linked VPN tunnel resources
- name String
- Immutable. The name of a Spoke resource.
- state String
- The current lifecycle state of this Hub.
- uniqueId String
- Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
- updateTime String
- The time when the Spoke was updated.
Supporting Types
RouterApplianceInstanceResponse   
- IpAddress string
- The IP address of the network interface to use for peering.
- NetworkInterface string
- VirtualMachine string
- The URI of the virtual machine resource
- IpAddress string
- The IP address of the network interface to use for peering.
- NetworkInterface string
- VirtualMachine string
- The URI of the virtual machine resource
- ipAddress String
- The IP address of the network interface to use for peering.
- networkInterface String
- virtualMachine String
- The URI of the virtual machine resource
- ipAddress string
- The IP address of the network interface to use for peering.
- networkInterface string
- virtualMachine string
- The URI of the virtual machine resource
- ip_address str
- The IP address of the network interface to use for peering.
- network_interface str
- virtual_machine str
- The URI of the virtual machine resource
- ipAddress String
- The IP address of the network interface to use for peering.
- networkInterface String
- virtualMachine String
- The URI of the virtual machine resource
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