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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:networkconnectivity/v1:getSpoke
arguments:
# arguments dictionary
The following arguments are supported:
getSpoke Result
The following output properties are available:
- Create
Time 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.
- Linked
Interconnect Pulumi.Attachments Google Native. Network Connectivity. V1. Outputs. Linked Interconnect Attachments Response - VLAN attachments that are associated with the spoke.
- Linked
Router Pulumi.Appliance Instances Google Native. Network Connectivity. V1. Outputs. Linked Router Appliance Instances Response - Router appliance instances that are associated with the spoke.
- Linked
Vpc Pulumi.Network Google Native. Network Connectivity. V1. Outputs. Linked Vpc Network Response - Optional. VPC network that is associated with the spoke.
- Linked
Vpn 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
INACTIVE
state. - Spoke
Type string - The type of resource associated with the spoke.
- State string
- The current lifecycle state of this spoke.
- Unique
Id 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
. - Update
Time string - The time the spoke was last updated.
- Create
Time 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.
- 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 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
[]State
Reason Response - The reasons for current state of the spoke. Only present when the spoke is in the
INACTIVE
state. - Spoke
Type string - The type of resource associated with the spoke.
- State string
- The current lifecycle state of this spoke.
- Unique
Id 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
. - Update
Time string - The time the spoke was last updated.
- create
Time 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.
- 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 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<State
Reason Response> - The reasons for current state of the spoke. Only present when the spoke is in the
INACTIVE
state. - spoke
Type String - The type of resource associated with the spoke.
- state String
- The current lifecycle state of this spoke.
- unique
Id 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
. - update
Time String - The time the spoke was last updated.
- create
Time 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.
- 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 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
State
Reason Response[] - The reasons for current state of the spoke. Only present when the spoke is in the
INACTIVE
state. - spoke
Type string - The type of resource associated with the spoke.
- state string
- The current lifecycle state of this spoke.
- unique
Id 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
. - update
Time 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[State
Reason Response] - The reasons for current state of the spoke. Only present when the spoke is in the
INACTIVE
state. - 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.
- create
Time 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.
- linked
Interconnect Property MapAttachments - VLAN attachments that are associated with the spoke.
- linked
Router Property MapAppliance Instances - Router appliance instances that are associated with the spoke.
- linked
Vpc Property MapNetwork - Optional. VPC network that is associated with the spoke.
- linked
Vpn 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
INACTIVE
state. - spoke
Type String - The type of resource associated with the spoke.
- state String
- The current lifecycle state of this spoke.
- unique
Id 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
. - update
Time String - The time the spoke was last updated.
Supporting Types
LinkedInterconnectAttachmentsResponse
- 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 List<string>
- The URIs of linked interconnect attachment resources
- Vpc
Network 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 []string
- The URIs of linked interconnect attachment resources
- Vpc
Network string - The VPC network where these VLAN attachments are located.
- site
To 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
- vpc
Network String - The VPC network where these VLAN attachments are located.
- site
To 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
- vpc
Network 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.
- site
To 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
- vpc
Network 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.
- 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 string - The VPC network where these router appliance instances are located.
- Instances
[]Router
Appliance 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 string - The VPC network where these router appliance instances are located.
- instances
List<Router
Appliance Instance Response> - The list of router appliance instances.
- site
To 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.
- vpc
Network String - The VPC network where these router appliance instances are located.
- instances
Router
Appliance Instance Response[] - The list of router appliance instances.
- site
To 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.
- vpc
Network string - The VPC network where these router appliance instances are located.
- instances
Sequence[Router
Appliance 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.
- site
To 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.
- vpc
Network String - The VPC network where these router appliance instances are located.
LinkedVpcNetworkResponse
- Exclude
Export List<string>Ranges - Optional. IP ranges encompassing the subnets to be excluded from peering.
- Uri string
- The URI of the VPC network resource.
- Exclude
Export []stringRanges - Optional. IP ranges encompassing the subnets to be excluded from peering.
- Uri string
- The URI of the VPC network resource.
- exclude
Export List<String>Ranges - Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri String
- The URI of the VPC network resource.
- exclude
Export 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.
- exclude
Export List<String>Ranges - Optional. IP ranges encompassing the subnets to be excluded from peering.
- uri String
- The URI of the VPC network resource.
LinkedVpnTunnelsResponse
- 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 List<string>
- The URIs of linked VPN tunnel resources.
- Vpc
Network 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 []string
- The URIs of linked VPN tunnel resources.
- Vpc
Network string - The VPC network where these VPN tunnels are located.
- site
To 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.
- vpc
Network String - The VPC network where these VPN tunnels are located.
- site
To 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.
- vpc
Network 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.
- site
To 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.
- vpc
Network String - The VPC network where these VPN tunnels are located.
RouterApplianceInstanceResponse
- Ip
Address string - The IP address on the VM to use for peering.
- Virtual
Machine string - The URI of the VM.
- Ip
Address string - The IP address on the VM to use for peering.
- Virtual
Machine string - The URI of the VM.
- ip
Address String - The IP address on the VM to use for peering.
- virtual
Machine String - The URI of the VM.
- ip
Address string - The IP address on the VM to use for peering.
- virtual
Machine 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.
- ip
Address String - The IP address on the VM to use for peering.
- virtual
Machine String - The URI of the VM.
StateReasonResponse
- Code string
- The code associated with this reason.
- Message string
- Human-readable details about this reason.
- User
Details 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.
- User
Details 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.
- user
Details 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.
- user
Details 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.
- user
Details 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