1. Packages
  2. Hpegl Provider
  3. API Docs
  4. getVmaasRouter
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

hpegl.getVmaasRouter

Explore with Pulumi AI

hpegl logo
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

    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:

    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.
    Id string
    The ID of this resource.
    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.
    Id string
    The ID of this resource.
    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.
    id String
    The ID of this resource.
    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.
    id string
    The ID of this resource.
    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.
    id str
    The ID of this resource.
    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.
    id String
    The ID of this resource.

    getVmaasRouter Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Interfaces List<GetVmaasRouterInterface>
    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.
    ProviderId 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 []GetVmaasRouterInterface
    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.
    ProviderId 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<GetVmaasRouterInterface>
    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.
    providerId 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 GetVmaasRouterInterface[]
    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.
    providerId 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[GetVmaasRouterInterface]
    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.
    providerId 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
    SourceAddresses string
    Cidr string
    Id float64
    SourceAddresses string
    cidr String
    id Double
    sourceAddresses String
    cidr string
    id number
    sourceAddresses string
    cidr String
    id Number
    sourceAddresses String

    Package Details

    Repository
    hpegl hpe/terraform-provider-hpegl
    License
    Notes
    This Pulumi package is based on the hpegl Terraform Provider.
    hpegl logo
    hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe