Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getHub

Gets details about a Network Connectivity Center hub.

Using getHub

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 getHub(args: GetHubArgs, opts?: InvokeOptions): Promise<GetHubResult>
function getHubOutput(args: GetHubOutputArgs, opts?: InvokeOptions): Output<GetHubResult>
def get_hub(hub_id: Optional[str] = None,
            project: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetHubResult
def get_hub_output(hub_id: Optional[pulumi.Input[str]] = None,
            project: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetHubResult]
func LookupHub(ctx *Context, args *LookupHubArgs, opts ...InvokeOption) (*LookupHubResult, error)
func LookupHubOutput(ctx *Context, args *LookupHubOutputArgs, opts ...InvokeOption) LookupHubResultOutput

> Note: This function is named LookupHub in the Go SDK.

public static class GetHub 
{
    public static Task<GetHubResult> InvokeAsync(GetHubArgs args, InvokeOptions? opts = null)
    public static Output<GetHubResult> Invoke(GetHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:networkconnectivity/v1alpha1:getHub
  Arguments:
    # Arguments dictionary

The following arguments are supported:

HubId string
Project string
HubId string
Project string
hubId String
project String
hubId string
project string
hubId String
project String

getHub Result

The following output properties are available:

CreateTime string

Time when the Hub was created.

Description string

Short description of the hub resource.

Labels Dictionary<string, string>

User-defined labels.

Name string

Immutable. The name of a Hub resource.

Spokes List<string>

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

State string

The current lifecycle state of this Hub.

UniqueId string

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

UpdateTime string

Time when the Hub was updated.

CreateTime string

Time when the Hub was created.

Description string

Short description of the hub resource.

Labels map[string]string

User-defined labels.

Name string

Immutable. The name of a Hub resource.

Spokes []string

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

State string

The current lifecycle state of this Hub.

UniqueId string

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

UpdateTime string

Time when the Hub was updated.

createTime String

Time when the Hub was created.

description String

Short description of the hub resource.

labels Map<String,String>

User-defined labels.

name String

Immutable. The name of a Hub resource.

spokes List<String>

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

state String

The current lifecycle state of this Hub.

uniqueId String

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

updateTime String

Time when the Hub was updated.

createTime string

Time when the Hub was created.

description string

Short description of the hub resource.

labels {[key: string]: string}

User-defined labels.

name string

Immutable. The name of a Hub resource.

spokes string[]

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

state string

The current lifecycle state of this Hub.

uniqueId string

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

updateTime string

Time when the Hub was updated.

create_time str

Time when the Hub was created.

description str

Short description of the hub resource.

labels Mapping[str, str]

User-defined labels.

name str

Immutable. The name of a Hub resource.

spokes Sequence[str]

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

state str

The current lifecycle state of this Hub.

unique_id str

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

update_time str

Time when the Hub was updated.

createTime String

Time when the Hub was created.

description String

Short description of the hub resource.

labels Map<String>

User-defined labels.

name String

Immutable. The name of a Hub resource.

spokes List<String>

A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

Deprecated:

Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

state String

The current lifecycle state of this Hub.

uniqueId String

Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.

updateTime String

Time when the Hub was updated.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0