1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. getRoutePolicy
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.managednetworkfabric.getRoutePolicy

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Implements Route Policy GET method. Azure REST API version: 2023-02-01-preview.

    Other available API versions: 2023-06-15.

    Using getRoutePolicy

    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 getRoutePolicy(args: GetRoutePolicyArgs, opts?: InvokeOptions): Promise<GetRoutePolicyResult>
    function getRoutePolicyOutput(args: GetRoutePolicyOutputArgs, opts?: InvokeOptions): Output<GetRoutePolicyResult>
    def get_route_policy(resource_group_name: Optional[str] = None,
                         route_policy_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetRoutePolicyResult
    def get_route_policy_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                         route_policy_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetRoutePolicyResult]
    func LookupRoutePolicy(ctx *Context, args *LookupRoutePolicyArgs, opts ...InvokeOption) (*LookupRoutePolicyResult, error)
    func LookupRoutePolicyOutput(ctx *Context, args *LookupRoutePolicyOutputArgs, opts ...InvokeOption) LookupRoutePolicyResultOutput

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

    public static class GetRoutePolicy 
    {
        public static Task<GetRoutePolicyResult> InvokeAsync(GetRoutePolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutePolicyResult> Invoke(GetRoutePolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoutePolicyResult> getRoutePolicy(GetRoutePolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:managednetworkfabric:getRoutePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RoutePolicyName string
    Name of the Route Policy
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RoutePolicyName string
    Name of the Route Policy
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    routePolicyName String
    Name of the Route Policy
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    routePolicyName string
    Name of the Route Policy
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    route_policy_name str
    Name of the Route Policy
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    routePolicyName String
    Name of the Route Policy

    getRoutePolicy Result

    The following output properties are available:

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    Gets the provisioning state of the resource.
    Statements List<Pulumi.AzureNative.ManagedNetworkFabric.Outputs.RoutePolicyStatementPropertiesResponse>
    Route Policy statements.
    SystemData Pulumi.AzureNative.ManagedNetworkFabric.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Annotation string
    Switch configuration description.
    Tags Dictionary<string, string>
    Resource tags.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    Gets the provisioning state of the resource.
    Statements []RoutePolicyStatementPropertiesResponse
    Route Policy statements.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Annotation string
    Switch configuration description.
    Tags map[string]string
    Resource tags.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    Gets the provisioning state of the resource.
    statements List<RoutePolicyStatementPropertiesResponse>
    Route Policy statements.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    annotation String
    Switch configuration description.
    tags Map<String,String>
    Resource tags.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    provisioningState string
    Gets the provisioning state of the resource.
    statements RoutePolicyStatementPropertiesResponse[]
    Route Policy statements.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    annotation string
    Switch configuration description.
    tags {[key: string]: string}
    Resource tags.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    provisioning_state str
    Gets the provisioning state of the resource.
    statements Sequence[RoutePolicyStatementPropertiesResponse]
    Route Policy statements.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    annotation str
    Switch configuration description.
    tags Mapping[str, str]
    Resource tags.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    Gets the provisioning state of the resource.
    statements List<Property Map>
    Route Policy statements.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    annotation String
    Switch configuration description.
    tags Map<String>
    Resource tags.

    Supporting Types

    ActionIpCommunityPropertiesResponse

    Add IpCommunityIdListResponse
    IP Community ID list properties.
    Delete IpCommunityIdListResponse
    IP Community ID list properties.
    Set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add Property Map
    IP Community ID list properties.
    delete Property Map
    IP Community ID list properties.
    set Property Map
    IP Community ID list properties.

    ActionIpExtendedCommunityPropertiesResponse

    Add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    Delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    Set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add Property Map
    IP Extended Community Id list properties.
    delete Property Map
    IP Extended Community Id list properties.
    set Property Map
    IP Extended Community Id list properties.

    IpCommunityIdListResponse

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpCommunityIds []string
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.

    IpExtendedCommunityIdListResponse

    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.

    RoutePolicyStatementPropertiesResponse

    Action Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesResponse
    Route policy action properties.
    Condition Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesResponse
    Route policy condition properties.
    SequenceNumber double
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    Action StatementActionPropertiesResponse
    Route policy action properties.
    Condition StatementConditionPropertiesResponse
    Route policy condition properties.
    SequenceNumber float64
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequenceNumber Double
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequenceNumber number
    Sequence to insert to/delete from existing route.
    annotation string
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequence_number float
    Sequence to insert to/delete from existing route.
    annotation str
    Switch configuration description.
    action Property Map
    Route policy action properties.
    condition Property Map
    Route policy condition properties.
    sequenceNumber Number
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.

    StatementActionPropertiesResponse

    ActionType string
    action. Example: Permit | Deny.
    IpCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    IpExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    LocalPreference float64
    localPreference of the route policy.
    actionType String
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference Double
    localPreference of the route policy.
    actionType string
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference number
    localPreference of the route policy.
    action_type str
    action. Example: Permit | Deny.
    ip_community_properties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ip_extended_community_properties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    local_preference float
    localPreference of the route policy.
    actionType String
    action. Example: Permit | Deny.
    ipCommunityProperties Property Map
    IP Community Properties.
    ipExtendedCommunityProperties Property Map
    IP Extended Community Properties.
    localPreference Number
    localPreference of the route policy.

    StatementConditionPropertiesResponse

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    IpCommunityIds []string
    List of IP Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ipPrefixId string
    Arm Resource Id of IpPrefix.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ip_prefix_id str
    Arm Resource Id of IpPrefix.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi