azure-native.network.getVirtualRouter
Explore with Pulumi AI
Gets the specified Virtual Router. API Version: 2022-01-01.
Using getVirtualRouter
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 getVirtualRouter(args: GetVirtualRouterArgs, opts?: InvokeOptions): Promise<GetVirtualRouterResult>
function getVirtualRouterOutput(args: GetVirtualRouterOutputArgs, opts?: InvokeOptions): Output<GetVirtualRouterResult>
def get_virtual_router(expand: Optional[str] = None,
resource_group_name: Optional[str] = None,
virtual_router_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualRouterResult
def get_virtual_router_output(expand: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_router_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualRouterResult]
func LookupVirtualRouter(ctx *Context, args *LookupVirtualRouterArgs, opts ...InvokeOption) (*LookupVirtualRouterResult, error)
func LookupVirtualRouterOutput(ctx *Context, args *LookupVirtualRouterOutputArgs, opts ...InvokeOption) LookupVirtualRouterResultOutput
> Note: This function is named LookupVirtualRouter
in the Go SDK.
public static class GetVirtualRouter
{
public static Task<GetVirtualRouterResult> InvokeAsync(GetVirtualRouterArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualRouterResult> Invoke(GetVirtualRouterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualRouterResult> getVirtualRouter(GetVirtualRouterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getVirtualRouter
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group.
- Virtual
Router stringName The name of the Virtual Router.
- Expand string
Expands referenced resources.
- Resource
Group stringName The name of the resource group.
- Virtual
Router stringName The name of the Virtual Router.
- Expand string
Expands referenced resources.
- resource
Group StringName The name of the resource group.
- virtual
Router StringName The name of the Virtual Router.
- expand String
Expands referenced resources.
- resource
Group stringName The name of the resource group.
- virtual
Router stringName The name of the Virtual Router.
- expand string
Expands referenced resources.
- resource_
group_ strname The name of the resource group.
- virtual_
router_ strname The name of the Virtual Router.
- expand str
Expands referenced resources.
- resource
Group StringName The name of the resource group.
- virtual
Router StringName The name of the Virtual Router.
- expand String
Expands referenced resources.
getVirtualRouter Result
The following output properties are available:
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Peerings
List<Pulumi.
Azure Native. Network. Outputs. Sub Resource Response> List of references to VirtualRouterPeerings.
- Provisioning
State string The provisioning state of the resource.
- Type string
Resource type.
- Hosted
Gateway Pulumi.Azure Native. Network. Outputs. Sub Resource Response The Gateway on which VirtualRouter is hosted.
- Hosted
Subnet Pulumi.Azure Native. Network. Outputs. Sub Resource Response The Subnet on which VirtualRouter is hosted.
- Id string
Resource ID.
- Location string
Resource location.
- Dictionary<string, string>
Resource tags.
- Virtual
Router doubleAsn VirtualRouter ASN.
- Virtual
Router List<string>Ips VirtualRouter IPs.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Peerings
[]Sub
Resource Response List of references to VirtualRouterPeerings.
- Provisioning
State string The provisioning state of the resource.
- Type string
Resource type.
- Hosted
Gateway SubResource Response The Gateway on which VirtualRouter is hosted.
- Hosted
Subnet SubResource Response The Subnet on which VirtualRouter is hosted.
- Id string
Resource ID.
- Location string
Resource location.
- map[string]string
Resource tags.
- Virtual
Router float64Asn VirtualRouter ASN.
- Virtual
Router []stringIps VirtualRouter IPs.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- peerings
List<Sub
Resource Response> List of references to VirtualRouterPeerings.
- provisioning
State String The provisioning state of the resource.
- type String
Resource type.
- hosted
Gateway SubResource Response The Gateway on which VirtualRouter is hosted.
- hosted
Subnet SubResource Response The Subnet on which VirtualRouter is hosted.
- id String
Resource ID.
- location String
Resource location.
- Map<String,String>
Resource tags.
- virtual
Router DoubleAsn VirtualRouter ASN.
- virtual
Router List<String>Ips VirtualRouter IPs.
- etag string
A unique read-only string that changes whenever the resource is updated.
- name string
Resource name.
- peerings
Sub
Resource Response[] List of references to VirtualRouterPeerings.
- provisioning
State string The provisioning state of the resource.
- type string
Resource type.
- hosted
Gateway SubResource Response The Gateway on which VirtualRouter is hosted.
- hosted
Subnet SubResource Response The Subnet on which VirtualRouter is hosted.
- id string
Resource ID.
- location string
Resource location.
- {[key: string]: string}
Resource tags.
- virtual
Router numberAsn VirtualRouter ASN.
- virtual
Router string[]Ips VirtualRouter IPs.
- etag str
A unique read-only string that changes whenever the resource is updated.
- name str
Resource name.
- peerings
Sequence[Sub
Resource Response] List of references to VirtualRouterPeerings.
- provisioning_
state str The provisioning state of the resource.
- type str
Resource type.
- hosted_
gateway SubResource Response The Gateway on which VirtualRouter is hosted.
- hosted_
subnet SubResource Response The Subnet on which VirtualRouter is hosted.
- id str
Resource ID.
- location str
Resource location.
- Mapping[str, str]
Resource tags.
- virtual_
router_ floatasn VirtualRouter ASN.
- virtual_
router_ Sequence[str]ips VirtualRouter IPs.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- peerings List<Property Map>
List of references to VirtualRouterPeerings.
- provisioning
State String The provisioning state of the resource.
- type String
Resource type.
- hosted
Gateway Property Map The Gateway on which VirtualRouter is hosted.
- hosted
Subnet Property Map The Subnet on which VirtualRouter is hosted.
- id String
Resource ID.
- location String
Resource location.
- Map<String>
Resource tags.
- virtual
Router NumberAsn VirtualRouter ASN.
- virtual
Router List<String>Ips VirtualRouter IPs.
Supporting Types
SubResourceResponse
- Id string
Resource ID.
- Id string
Resource ID.
- id String
Resource ID.
- id string
Resource ID.
- id str
Resource ID.
- id String
Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0