hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe
hpegl.getVmaasRouter
Explore with Pulumi AI
The hpegl.VmaasRouter data source can be used to discover the ID of a hpegl vmaas router. This can then be used with resources or data sources that require a hpegl_vmaas_router, such as the hpegl.VmaasRouter resource.
Using getVmaasRouter
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 getVmaasRouter(args: GetVmaasRouterArgs, opts?: InvokeOptions): Promise<GetVmaasRouterResult>
function getVmaasRouterOutput(args: GetVmaasRouterOutputArgs, opts?: InvokeOptions): Output<GetVmaasRouterResult>
def get_vmaas_router(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmaasRouterResult
def get_vmaas_router_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmaasRouterResult]
func LookupVmaasRouter(ctx *Context, args *LookupVmaasRouterArgs, opts ...InvokeOption) (*LookupVmaasRouterResult, error)
func LookupVmaasRouterOutput(ctx *Context, args *LookupVmaasRouterOutputArgs, opts ...InvokeOption) LookupVmaasRouterResultOutput
> Note: This function is named LookupVmaasRouter
in the Go SDK.
public static class GetVmaasRouter
{
public static Task<GetVmaasRouterResult> InvokeAsync(GetVmaasRouterArgs args, InvokeOptions? opts = null)
public static Output<GetVmaasRouterResult> Invoke(GetVmaasRouterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVmaasRouterResult> getVmaasRouter(GetVmaasRouterArgs args, InvokeOptions options)
public static Output<GetVmaasRouterResult> getVmaasRouter(GetVmaasRouterArgs args, InvokeOptions options)
fn::invoke:
function: hpegl:index/getVmaasRouter:getVmaasRouter
arguments:
# arguments dictionary
The following arguments are supported:
getVmaasRouter Result
The following output properties are available:
- Id string
- The ID of this resource.
- Interfaces
List<Get
Vmaas Router Interface> - Interface Configuration
- Name string
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- Provider
Id string - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
- Id string
- The ID of this resource.
- Interfaces
[]Get
Vmaas Router Interface - Interface Configuration
- Name string
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- Provider
Id string - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
- id String
- The ID of this resource.
- interfaces
List<Get
Vmaas Router Interface> - Interface Configuration
- name String
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- provider
Id String - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
- id string
- The ID of this resource.
- interfaces
Get
Vmaas Router Interface[] - Interface Configuration
- name string
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- provider
Id string - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
- id str
- The ID of this resource.
- interfaces
Sequence[Get
Vmaas Router Interface] - Interface Configuration
- name str
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- provider_
id str - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
- id String
- The ID of this resource.
- interfaces List<Property Map>
- Interface Configuration
- name String
- Name of the Router as it appears on HPE GreenLake for private cloud dashboard. If there is no Router with this name, a 'NOT FOUND' error will returned.
- provider
Id String - Provider ID of the given router/gateway. This field can be used as connectedgateway in hpeglvmaas_network
Supporting Types
GetVmaasRouterInterface
- Cidr string
- Id double
- Source
Addresses string
- Cidr string
- Id float64
- Source
Addresses string
- cidr String
- id Double
- source
Addresses String
- cidr string
- id number
- source
Addresses string
- cidr str
- id float
- source_
addresses str
- cidr String
- id Number
- source
Addresses String
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpegl
Terraform Provider.