1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkconnectivity
  5. networkconnectivity/v1alpha1
  6. getSpoke

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-native logo

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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:networkconnectivity/v1alpha1:getSpoke
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    SpokeId string
    Project string
    Location string
    SpokeId string
    Project string
    location String
    spokeId String
    project String
    location string
    spokeId string
    project string
    location String
    spokeId String
    project String

    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.
    LinkedInterconnectAttachments List<string>
    The URIs of linked interconnect attachment resources
    LinkedRouterApplianceInstances List<Pulumi.GoogleNative.NetworkConnectivity.V1Alpha1.Outputs.RouterApplianceInstanceResponse>
    The URIs of linked Router appliance resources
    LinkedVpnTunnels List<string>
    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.
    LinkedInterconnectAttachments []string
    The URIs of linked interconnect attachment resources
    LinkedRouterApplianceInstances []RouterApplianceInstanceResponse
    The URIs of linked Router appliance resources
    LinkedVpnTunnels []string
    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.
    linkedInterconnectAttachments List<String>
    The URIs of linked interconnect attachment resources
    linkedRouterApplianceInstances List<RouterApplianceInstanceResponse>
    The URIs of linked Router appliance resources
    linkedVpnTunnels List<String>
    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.
    linkedInterconnectAttachments string[]
    The URIs of linked interconnect attachment resources
    linkedRouterApplianceInstances RouterApplianceInstanceResponse[]
    The URIs of linked Router appliance resources
    linkedVpnTunnels string[]
    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_attachments Sequence[str]
    The URIs of linked interconnect attachment resources
    linked_router_appliance_instances Sequence[RouterApplianceInstanceResponse]
    The URIs of linked Router appliance resources
    linked_vpn_tunnels Sequence[str]
    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.
    linkedInterconnectAttachments List<String>
    The URIs of linked interconnect attachment resources
    linkedRouterApplianceInstances List<Property Map>
    The URIs of linked Router appliance resources
    linkedVpnTunnels List<String>
    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-native logo

    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