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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.managednetworkfabric.getRoutePolicy
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 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 dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RoutePolicy stringName 
- Name of the Route Policy
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RoutePolicy stringName 
- Name of the Route Policy
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- routePolicy StringName 
- Name of the Route Policy
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- routePolicy stringName 
- Name of the Route Policy
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- route_policy_ strname 
- Name of the Route Policy
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- routePolicy StringName 
- 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.Azure Native. Managed Network Fabric. Outputs. Route Policy Statement Properties Response> 
- Route Policy statements.
- SystemData Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response 
- 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.
- 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
[]RoutePolicy Statement Properties Response 
- Route Policy statements.
- SystemData SystemData Response 
- 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.
- 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<RoutePolicy Statement Properties Response> 
- Route Policy statements.
- systemData SystemData Response 
- 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.
- 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
RoutePolicy Statement Properties Response[] 
- Route Policy statements.
- systemData SystemData Response 
- 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.
- {[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[RoutePolicy Statement Properties Response] 
- Route Policy statements.
- system_data SystemData Response 
- 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.
- 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.
- Map<String>
- Resource tags.
Supporting Types
ActionIpCommunityPropertiesResponse    
- Add
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response 
- IP Community ID list properties.
- Delete
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response 
- IP Community ID list properties.
- Set
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response 
- IP Community ID list properties.
- Add
IpCommunity Id List Response 
- IP Community ID list properties.
- Delete
IpCommunity Id List Response 
- IP Community ID list properties.
- Set
IpCommunity Id List Response 
- IP Community ID list properties.
- add
IpCommunity Id List Response 
- IP Community ID list properties.
- delete
IpCommunity Id List Response 
- IP Community ID list properties.
- set
IpCommunity Id List Response 
- IP Community ID list properties.
- add
IpCommunity Id List Response 
- IP Community ID list properties.
- delete
IpCommunity Id List Response 
- IP Community ID list properties.
- set
IpCommunity Id List Response 
- IP Community ID list properties.
- add
IpCommunity Id List Response 
- IP Community ID list properties.
- delete
IpCommunity Id List Response 
- IP Community ID list properties.
- set
IpCommunity Id List Response 
- 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
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response 
- IP Extended Community Id list properties.
- Delete
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response 
- IP Extended Community Id list properties.
- Set
Pulumi.Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response 
- IP Extended Community Id list properties.
- Add
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- Delete
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- Set
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- add
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- delete
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- set
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- add
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- delete
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- set
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- add
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- delete
IpExtended Community Id List Response 
- IP Extended Community Id list properties.
- set
IpExtended Community Id List Response 
- 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    
- IpCommunity List<string>Ids 
- List of IP Community resource IDs.
- IpCommunity []stringIds 
- List of IP Community resource IDs.
- ipCommunity List<String>Ids 
- List of IP Community resource IDs.
- ipCommunity string[]Ids 
- List of IP Community resource IDs.
- ip_community_ Sequence[str]ids 
- List of IP Community resource IDs.
- ipCommunity List<String>Ids 
- List of IP Community resource IDs.
IpExtendedCommunityIdListResponse     
- IpExtended List<string>Community Ids 
- List of IP Extended Community resource IDs.
- IpExtended []stringCommunity Ids 
- List of IP Extended Community resource IDs.
- ipExtended List<String>Community Ids 
- List of IP Extended Community resource IDs.
- ipExtended string[]Community Ids 
- List of IP Extended Community resource IDs.
- ip_extended_ Sequence[str]community_ ids 
- List of IP Extended Community resource IDs.
- ipExtended List<String>Community Ids 
- List of IP Extended Community resource IDs.
RoutePolicyStatementPropertiesResponse    
- Action
Pulumi.Azure Native. Managed Network Fabric. Inputs. Statement Action Properties Response 
- Route policy action properties.
- Condition
Pulumi.Azure Native. Managed Network Fabric. Inputs. Statement Condition Properties Response 
- Route policy condition properties.
- SequenceNumber double
- Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- Action
StatementAction Properties Response 
- Route policy action properties.
- Condition
StatementCondition Properties Response 
- Route policy condition properties.
- SequenceNumber float64
- Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- action
StatementAction Properties Response 
- Route policy action properties.
- condition
StatementCondition Properties Response 
- Route policy condition properties.
- sequenceNumber Double
- Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
- action
StatementAction Properties Response 
- Route policy action properties.
- condition
StatementCondition Properties Response 
- Route policy condition properties.
- sequenceNumber number
- Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
StatementAction Properties Response 
- Route policy action properties.
- condition
StatementCondition Properties Response 
- 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.
- IpCommunity Pulumi.Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Community Properties Response 
- IP Community Properties.
- IpExtended Pulumi.Community Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Extended Community Properties Response 
- IP Extended Community Properties.
- LocalPreference double
- localPreference of the route policy.
- ActionType string
- action. Example: Permit | Deny.
- IpCommunity ActionProperties Ip Community Properties Response 
- IP Community Properties.
- IpExtended ActionCommunity Properties Ip Extended Community Properties Response 
- IP Extended Community Properties.
- LocalPreference float64
- localPreference of the route policy.
- actionType String
- action. Example: Permit | Deny.
- ipCommunity ActionProperties Ip Community Properties Response 
- IP Community Properties.
- ipExtended ActionCommunity Properties Ip Extended Community Properties Response 
- IP Extended Community Properties.
- localPreference Double
- localPreference of the route policy.
- actionType string
- action. Example: Permit | Deny.
- ipCommunity ActionProperties Ip Community Properties Response 
- IP Community Properties.
- ipExtended ActionCommunity Properties Ip Extended Community Properties Response 
- IP Extended Community Properties.
- localPreference number
- localPreference of the route policy.
- action_type str
- action. Example: Permit | Deny.
- ip_community_ Actionproperties Ip Community Properties Response 
- IP Community Properties.
- ip_extended_ Actioncommunity_ properties Ip Extended Community Properties Response 
- IP Extended Community Properties.
- local_preference float
- localPreference of the route policy.
- actionType String
- action. Example: Permit | Deny.
- ipCommunity Property MapProperties 
- IP Community Properties.
- ipExtended Property MapCommunity Properties 
- IP Extended Community Properties.
- localPreference Number
- localPreference of the route policy.
StatementConditionPropertiesResponse   
- IpCommunity List<string>Ids 
- List of IP Community resource IDs.
- IpExtended List<string>Community Ids 
- List of IP Extended Community resource IDs.
- IpPrefix stringId 
- Arm Resource Id of IpPrefix.
- IpCommunity []stringIds 
- List of IP Community resource IDs.
- IpExtended []stringCommunity Ids 
- List of IP Extended Community resource IDs.
- IpPrefix stringId 
- Arm Resource Id of IpPrefix.
- ipCommunity List<String>Ids 
- List of IP Community resource IDs.
- ipExtended List<String>Community Ids 
- List of IP Extended Community resource IDs.
- ipPrefix StringId 
- Arm Resource Id of IpPrefix.
- ipCommunity string[]Ids 
- List of IP Community resource IDs.
- ipExtended string[]Community Ids 
- List of IP Extended Community resource IDs.
- ipPrefix stringId 
- Arm Resource Id of IpPrefix.
- ip_community_ Sequence[str]ids 
- List of IP Community resource IDs.
- ip_extended_ Sequence[str]community_ ids 
- List of IP Extended Community resource IDs.
- ip_prefix_ strid 
- Arm Resource Id of IpPrefix.
- ipCommunity List<String>Ids 
- List of IP Community resource IDs.
- ipExtended List<String>Community Ids 
- List of IP Extended Community resource IDs.
- ipPrefix StringId 
- Arm Resource Id of IpPrefix.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi