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.getHub
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 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:
getHub Result
The following output properties are available:
- Create
Time 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.
- State string
- The current lifecycle state of this Hub.
- Unique
Id 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.
- Update
Time string - Time when the Hub was updated.
- Create
Time 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.
- State string
- The current lifecycle state of this Hub.
- Unique
Id 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.
- Update
Time string - Time when the Hub was updated.
- create
Time 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.
- state String
- The current lifecycle state of this Hub.
- unique
Id 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.
- update
Time String - Time when the Hub was updated.
- create
Time 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.
- state string
- The current lifecycle state of this Hub.
- unique
Id 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.
- update
Time 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.
- 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.
- create
Time 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.
- state String
- The current lifecycle state of this Hub.
- unique
Id 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.
- update
Time String - Time when the Hub was updated.
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