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)
// 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:
getSpoke Result
The following output properties are available:
- Create
Time 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.
- Linked
Interconnect List<string>Attachments - The URIs of linked interconnect attachment resources
- Linked
Router List<Pulumi.Appliance Instances Google Native. Network Connectivity. V1Alpha1. Outputs. Router Appliance Instance Response> - The URIs of linked Router appliance resources
- Linked
Vpn 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.
- Unique
Id 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.
- Update
Time string - The time when the Spoke was updated.
- Create
Time 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.
- Linked
Interconnect []stringAttachments - The URIs of linked interconnect attachment resources
- Linked
Router []RouterAppliance Instances Appliance Instance Response - The URIs of linked Router appliance resources
- Linked
Vpn []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.
- Unique
Id 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.
- Update
Time string - The time when the Spoke was updated.
- create
Time 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.
- linked
Interconnect List<String>Attachments - The URIs of linked interconnect attachment resources
- linked
Router List<RouterAppliance Instances Appliance Instance Response> - The URIs of linked Router appliance resources
- linked
Vpn 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.
- unique
Id 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.
- update
Time String - The time when the Spoke was updated.
- create
Time 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.
- linked
Interconnect string[]Attachments - The URIs of linked interconnect attachment resources
- linked
Router RouterAppliance Instances Appliance Instance Response[] - The URIs of linked Router appliance resources
- linked
Vpn 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.
- unique
Id 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.
- update
Time 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.
- create
Time 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.
- linked
Interconnect List<String>Attachments - The URIs of linked interconnect attachment resources
- linked
Router List<Property Map>Appliance Instances - The URIs of linked Router appliance resources
- linked
Vpn 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.
- unique
Id 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.
- update
Time String - The time when the Spoke was updated.
Supporting Types
RouterApplianceInstanceResponse
- Ip
Address string - The IP address of the network interface to use for peering.
- Network
Interface string - Virtual
Machine string - The URI of the virtual machine resource
- Ip
Address string - The IP address of the network interface to use for peering.
- Network
Interface string - Virtual
Machine string - The URI of the virtual machine resource
- ip
Address String - The IP address of the network interface to use for peering.
- network
Interface String - virtual
Machine String - The URI of the virtual machine resource
- ip
Address string - The IP address of the network interface to use for peering.
- network
Interface string - virtual
Machine 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
- ip
Address String - The IP address of the network interface to use for peering.
- network
Interface String - virtual
Machine 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