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 dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Route
Policy stringName - Name of the Route Policy
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Route
Policy stringName - Name of the Route Policy
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- route
Policy StringName - Name of the Route Policy
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- route
Policy 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
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- route
Policy 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
- Provisioning
State 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.
- System
Data 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
- Provisioning
State string - Gets the provisioning state of the resource.
- Statements
[]Route
Policy Statement Properties Response - Route Policy statements.
- System
Data 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
- provisioning
State String - Gets the provisioning state of the resource.
- statements
List<Route
Policy Statement Properties Response> - Route Policy statements.
- system
Data 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
- provisioning
State string - Gets the provisioning state of the resource.
- statements
Route
Policy Statement Properties Response[] - Route Policy statements.
- system
Data 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[Route
Policy 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
- provisioning
State String - Gets the provisioning state of the resource.
- statements List<Property Map>
- Route Policy statements.
- system
Data 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
Ip
Community Id List Response - IP Community ID list properties.
- Delete
Ip
Community Id List Response - IP Community ID list properties.
- Set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community 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
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- Delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- Set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended 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
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Community []stringIds - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
IpExtendedCommunityIdListResponse
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip
Extended 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.
- Sequence
Number double - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- Action
Statement
Action Properties Response - Route policy action properties.
- Condition
Statement
Condition Properties Response - Route policy condition properties.
- Sequence
Number float64 - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number Double - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number number - Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition 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.
- sequence
Number Number - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
StatementActionPropertiesResponse
- Action
Type string - action. Example: Permit | Deny.
- Ip
Community Pulumi.Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Community Properties Response - IP Community Properties.
- Ip
Extended Pulumi.Community Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Extended Community Properties Response - IP Extended Community Properties.
- Local
Preference double - localPreference of the route policy.
- Action
Type string - 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 float64 - localPreference of the route policy.
- action
Type String - 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 Double - localPreference of the route policy.
- action
Type string - 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 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.
- action
Type String - action. Example: Permit | Deny.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - localPreference of the route policy.
StatementConditionPropertiesResponse
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Ip
Community []stringIds - List of IP Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix 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.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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