1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getRoutingIntent
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.network.getRoutingIntent

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Retrieves the details of a RoutingIntent. Azure REST API version: 2023-02-01.

    Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-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>
    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]
    func LookupRoutingIntent(ctx *Context, args *LookupRoutingIntentArgs, opts ...InvokeOption) (*LookupRoutingIntentResult, error)
    func LookupRoutingIntentOutput(ctx *Context, args *LookupRoutingIntentOutputArgs, opts ...InvokeOption) LookupRoutingIntentResultOutput

    > 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)
    }
    public static CompletableFuture<GetRoutingIntentResult> getRoutingIntent(GetRoutingIntentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getRoutingIntent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The resource group name of the RoutingIntent.
    RoutingIntentName string
    The name of the RoutingIntent.
    VirtualHubName string
    The name of the VirtualHub.
    ResourceGroupName string
    The resource group name of the RoutingIntent.
    RoutingIntentName string
    The name of the RoutingIntent.
    VirtualHubName string
    The name of the VirtualHub.
    resourceGroupName String
    The resource group name of the RoutingIntent.
    routingIntentName String
    The name of the RoutingIntent.
    virtualHubName String
    The name of the VirtualHub.
    resourceGroupName string
    The resource group name of the RoutingIntent.
    routingIntentName string
    The name of the RoutingIntent.
    virtualHubName string
    The name of the VirtualHub.
    resource_group_name str
    The resource group name of the RoutingIntent.
    routing_intent_name str
    The name of the RoutingIntent.
    virtual_hub_name str
    The name of the VirtualHub.
    resourceGroupName String
    The resource group name of the RoutingIntent.
    routingIntentName String
    The name of the RoutingIntent.
    virtualHubName 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 List<string>
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    Name string
    The unique name for the routing policy.
    NextHop string
    The next hop resource id on which this routing policy is applicable to.
    Destinations []string
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    Name string
    The unique name for the routing policy.
    NextHop string
    The next hop resource id on which this routing policy is applicable to.
    destinations List<String>
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    name String
    The unique name for the routing policy.
    nextHop String
    The next hop resource id on which this routing policy is applicable to.
    destinations string[]
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    name string
    The unique name for the routing policy.
    nextHop string
    The next hop resource id on which this routing policy is applicable to.
    destinations Sequence[str]
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    name str
    The unique name for the routing policy.
    next_hop str
    The next hop resource id on which this routing policy is applicable to.
    destinations List<String>
    List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
    name String
    The unique name for the routing policy.
    nextHop String
    The next hop resource id on which this routing policy is applicable to.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi