1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. getRoutingIntent
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.getRoutingIntent

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

Retrieves the details of a RoutingIntent. API Version: 2022-01-01.

Using getRoutingIntent

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 getRoutingIntent(args: GetRoutingIntentArgs, opts?: InvokeOptions): Promise<GetRoutingIntentResult>
function getRoutingIntentOutput(args: GetRoutingIntentOutputArgs, opts?: InvokeOptions): Output<GetRoutingIntentResult>
Copy
def get_routing_intent(resource_group_name: Optional[str] = None,
                       routing_intent_name: Optional[str] = None,
                       virtual_hub_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRoutingIntentResult
def get_routing_intent_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                       routing_intent_name: Optional[pulumi.Input[str]] = None,
                       virtual_hub_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetRoutingIntentResult]
Copy
func LookupRoutingIntent(ctx *Context, args *LookupRoutingIntentArgs, opts ...InvokeOption) (*LookupRoutingIntentResult, error)
func LookupRoutingIntentOutput(ctx *Context, args *LookupRoutingIntentOutputArgs, opts ...InvokeOption) LookupRoutingIntentResultOutput
Copy

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

public static class GetRoutingIntent 
{
    public static Task<GetRoutingIntentResult> InvokeAsync(GetRoutingIntentArgs args, InvokeOptions? opts = null)
    public static Output<GetRoutingIntentResult> Invoke(GetRoutingIntentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRoutingIntentResult> getRoutingIntent(GetRoutingIntentArgs args, InvokeOptions options)
public static Output<GetRoutingIntentResult> getRoutingIntent(GetRoutingIntentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getRoutingIntent
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the RoutingIntent.
RoutingIntentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the RoutingIntent.
VirtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the RoutingIntent.
RoutingIntentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the RoutingIntent.
VirtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the RoutingIntent.
routingIntentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the RoutingIntent.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the RoutingIntent.
routingIntentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the RoutingIntent.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name of the RoutingIntent.
routing_intent_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the RoutingIntent.
virtual_hub_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the RoutingIntent.
routingIntentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the RoutingIntent.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the VirtualHub.

getRoutingIntent Result

The following output properties are available:

Etag string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState string
The provisioning state of the RoutingIntent resource.
Type string
Resource type.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RoutingPolicies List<Pulumi.AzureNative.Network.Outputs.RoutingPolicyResponse>
List of routing policies.
Etag string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState string
The provisioning state of the RoutingIntent resource.
Type string
Resource type.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RoutingPolicies []RoutingPolicyResponse
List of routing policies.
etag String
A unique read-only string that changes whenever the resource is updated.
provisioningState String
The provisioning state of the RoutingIntent resource.
type String
Resource type.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingPolicies List<RoutingPolicyResponse>
List of routing policies.
etag string
A unique read-only string that changes whenever the resource is updated.
provisioningState string
The provisioning state of the RoutingIntent resource.
type string
Resource type.
id string
Resource ID.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingPolicies RoutingPolicyResponse[]
List of routing policies.
etag str
A unique read-only string that changes whenever the resource is updated.
provisioning_state str
The provisioning state of the RoutingIntent resource.
type str
Resource type.
id str
Resource ID.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routing_policies Sequence[RoutingPolicyResponse]
List of routing policies.
etag String
A unique read-only string that changes whenever the resource is updated.
provisioningState String
The provisioning state of the RoutingIntent resource.
type String
Resource type.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingPolicies List<Property Map>
List of routing policies.

Supporting Types

RoutingPolicyResponse

Destinations This property is required. List<string>
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
Name This property is required. string
The unique name for the routing policy.
NextHop This property is required. string
The next hop resource id on which this routing policy is applicable to.
Destinations This property is required. []string
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
Name This property is required. string
The unique name for the routing policy.
NextHop This property is required. string
The next hop resource id on which this routing policy is applicable to.
destinations This property is required. List<String>
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
name This property is required. String
The unique name for the routing policy.
nextHop This property is required. String
The next hop resource id on which this routing policy is applicable to.
destinations This property is required. string[]
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
name This property is required. string
The unique name for the routing policy.
nextHop This property is required. string
The next hop resource id on which this routing policy is applicable to.
destinations This property is required. Sequence[str]
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
name This property is required. str
The unique name for the routing policy.
next_hop This property is required. str
The next hop resource id on which this routing policy is applicable to.
destinations This property is required. List<String>
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
name This property is required. String
The unique name for the routing policy.
nextHop This property is required. String
The next hop resource id on which this routing policy is applicable to.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi