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.cloudngfw.getLocalRule
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get a LocalRulesResource Azure REST API version: 2023-09-01.
Other available API versions: 2022-08-29, 2022-08-29-preview, 2023-09-01-preview, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview.
Using getLocalRule
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 getLocalRule(args: GetLocalRuleArgs, opts?: InvokeOptions): Promise<GetLocalRuleResult>
function getLocalRuleOutput(args: GetLocalRuleOutputArgs, opts?: InvokeOptions): Output<GetLocalRuleResult>
def get_local_rule(local_rulestack_name: Optional[str] = None,
priority: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLocalRuleResult
def get_local_rule_output(local_rulestack_name: Optional[pulumi.Input[str]] = None,
priority: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocalRuleResult]
func LookupLocalRule(ctx *Context, args *LookupLocalRuleArgs, opts ...InvokeOption) (*LookupLocalRuleResult, error)
func LookupLocalRuleOutput(ctx *Context, args *LookupLocalRuleOutputArgs, opts ...InvokeOption) LookupLocalRuleResultOutput
> Note: This function is named LookupLocalRule
in the Go SDK.
public static class GetLocalRule
{
public static Task<GetLocalRuleResult> InvokeAsync(GetLocalRuleArgs args, InvokeOptions? opts = null)
public static Output<GetLocalRuleResult> Invoke(GetLocalRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLocalRuleResult> getLocalRule(GetLocalRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:cloudngfw:getLocalRule
arguments:
# arguments dictionary
The following arguments are supported:
- Local
Rulestack stringName - LocalRulestack resource name
- Priority string
- Local Rule priority
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Local
Rulestack stringName - LocalRulestack resource name
- Priority string
- Local Rule priority
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- local
Rulestack StringName - LocalRulestack resource name
- priority String
- Local Rule priority
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- local
Rulestack stringName - LocalRulestack resource name
- priority string
- Local Rule priority
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- local_
rulestack_ strname - LocalRulestack resource name
- priority str
- Local Rule priority
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- local
Rulestack StringName - LocalRulestack resource name
- priority String
- Local Rule priority
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getLocalRule 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}
- Name string
- The name of the resource
- Priority int
- Provisioning
State string - Provisioning state of the resource.
- Rule
Name string - rule name
- System
Data Pulumi.Azure Native. Cloudngfw. 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"
- Action
Type string - rule action
- Applications List<string>
- array of rule applications
- Audit
Comment string - rule comment
- Category
Pulumi.
Azure Native. Cloudngfw. Outputs. Category Response - rule category
- Decryption
Rule stringType - enable or disable decryption
- Description string
- rule description
- Destination
Pulumi.
Azure Native. Cloudngfw. Outputs. Destination Addr Response - destination address
- Enable
Logging string - enable or disable logging
- Etag string
- etag info
- Inbound
Inspection stringCertificate - inbound Inspection Certificate
- Negate
Destination string - cidr should not be 'any'
- Negate
Source string - cidr should not be 'any'
- Protocol string
- any, application-default, TCP:number, UDP:number
- Protocol
Port List<string>List - prot port list
- Rule
State string - state of this rule
- Source
Pulumi.
Azure Native. Cloudngfw. Outputs. Source Addr Response - source address
- List<Pulumi.
Azure Native. Cloudngfw. Outputs. Tag Info Response> - tag for rule
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Priority int
- Provisioning
State string - Provisioning state of the resource.
- Rule
Name string - rule name
- 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"
- Action
Type string - rule action
- Applications []string
- array of rule applications
- Audit
Comment string - rule comment
- Category
Category
Response - rule category
- Decryption
Rule stringType - enable or disable decryption
- Description string
- rule description
- Destination
Destination
Addr Response - destination address
- Enable
Logging string - enable or disable logging
- Etag string
- etag info
- Inbound
Inspection stringCertificate - inbound Inspection Certificate
- Negate
Destination string - cidr should not be 'any'
- Negate
Source string - cidr should not be 'any'
- Protocol string
- any, application-default, TCP:number, UDP:number
- Protocol
Port []stringList - prot port list
- Rule
State string - state of this rule
- Source
Source
Addr Response - source address
- []Tag
Info Response - tag for rule
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- priority Integer
- provisioning
State String - Provisioning state of the resource.
- rule
Name String - rule name
- 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"
- action
Type String - rule action
- applications List<String>
- array of rule applications
- audit
Comment String - rule comment
- category
Category
Response - rule category
- decryption
Rule StringType - enable or disable decryption
- description String
- rule description
- destination
Destination
Addr Response - destination address
- enable
Logging String - enable or disable logging
- etag String
- etag info
- inbound
Inspection StringCertificate - inbound Inspection Certificate
- negate
Destination String - cidr should not be 'any'
- negate
Source String - cidr should not be 'any'
- protocol String
- any, application-default, TCP:number, UDP:number
- protocol
Port List<String>List - prot port list
- rule
State String - state of this rule
- source
Source
Addr Response - source address
- List<Tag
Info Response> - tag for rule
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- priority number
- provisioning
State string - Provisioning state of the resource.
- rule
Name string - rule name
- 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"
- action
Type string - rule action
- applications string[]
- array of rule applications
- audit
Comment string - rule comment
- category
Category
Response - rule category
- decryption
Rule stringType - enable or disable decryption
- description string
- rule description
- destination
Destination
Addr Response - destination address
- enable
Logging string - enable or disable logging
- etag string
- etag info
- inbound
Inspection stringCertificate - inbound Inspection Certificate
- negate
Destination string - cidr should not be 'any'
- negate
Source string - cidr should not be 'any'
- protocol string
- any, application-default, TCP:number, UDP:number
- protocol
Port string[]List - prot port list
- rule
State string - state of this rule
- source
Source
Addr Response - source address
- Tag
Info Response[] - tag for rule
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- priority int
- provisioning_
state str - Provisioning state of the resource.
- rule_
name str - rule name
- 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"
- action_
type str - rule action
- applications Sequence[str]
- array of rule applications
- audit_
comment str - rule comment
- category
Category
Response - rule category
- decryption_
rule_ strtype - enable or disable decryption
- description str
- rule description
- destination
Destination
Addr Response - destination address
- enable_
logging str - enable or disable logging
- etag str
- etag info
- inbound_
inspection_ strcertificate - inbound Inspection Certificate
- negate_
destination str - cidr should not be 'any'
- negate_
source str - cidr should not be 'any'
- protocol str
- any, application-default, TCP:number, UDP:number
- protocol_
port_ Sequence[str]list - prot port list
- rule_
state str - state of this rule
- source
Source
Addr Response - source address
- Sequence[Tag
Info Response] - tag for rule
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- priority Number
- provisioning
State String - Provisioning state of the resource.
- rule
Name String - rule name
- 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"
- action
Type String - rule action
- applications List<String>
- array of rule applications
- audit
Comment String - rule comment
- category Property Map
- rule category
- decryption
Rule StringType - enable or disable decryption
- description String
- rule description
- destination Property Map
- destination address
- enable
Logging String - enable or disable logging
- etag String
- etag info
- inbound
Inspection StringCertificate - inbound Inspection Certificate
- negate
Destination String - cidr should not be 'any'
- negate
Source String - cidr should not be 'any'
- protocol String
- any, application-default, TCP:number, UDP:number
- protocol
Port List<String>List - prot port list
- rule
State String - state of this rule
- source Property Map
- source address
- List<Property Map>
- tag for rule
Supporting Types
CategoryResponse
- feeds Sequence[str]
- feed list
- url_
custom Sequence[str] - custom URL
DestinationAddrResponse
- Cidrs List<string>
- special value 'any'
- Countries List<string>
- list of countries
- Feeds List<string>
- list of feeds
- Fqdn
Lists List<string> - fqdn list
- Prefix
Lists List<string> - prefix list
- Cidrs []string
- special value 'any'
- Countries []string
- list of countries
- Feeds []string
- list of feeds
- Fqdn
Lists []string - fqdn list
- Prefix
Lists []string - prefix list
- cidrs List<String>
- special value 'any'
- countries List<String>
- list of countries
- feeds List<String>
- list of feeds
- fqdn
Lists List<String> - fqdn list
- prefix
Lists List<String> - prefix list
- cidrs string[]
- special value 'any'
- countries string[]
- list of countries
- feeds string[]
- list of feeds
- fqdn
Lists string[] - fqdn list
- prefix
Lists string[] - prefix list
- cidrs Sequence[str]
- special value 'any'
- countries Sequence[str]
- list of countries
- feeds Sequence[str]
- list of feeds
- fqdn_
lists Sequence[str] - fqdn list
- prefix_
lists Sequence[str] - prefix list
- cidrs List<String>
- special value 'any'
- countries List<String>
- list of countries
- feeds List<String>
- list of feeds
- fqdn
Lists List<String> - fqdn list
- prefix
Lists List<String> - prefix list
SourceAddrResponse
- Cidrs List<string>
- special value 'any'
- Countries List<string>
- list of countries
- Feeds List<string>
- list of feeds
- Prefix
Lists List<string> - prefix list
- Cidrs []string
- special value 'any'
- Countries []string
- list of countries
- Feeds []string
- list of feeds
- Prefix
Lists []string - prefix list
- cidrs List<String>
- special value 'any'
- countries List<String>
- list of countries
- feeds List<String>
- list of feeds
- prefix
Lists List<String> - prefix list
- cidrs string[]
- special value 'any'
- countries string[]
- list of countries
- feeds string[]
- list of feeds
- prefix
Lists string[] - prefix list
- cidrs Sequence[str]
- special value 'any'
- countries Sequence[str]
- list of countries
- feeds Sequence[str]
- list of feeds
- prefix_
lists Sequence[str] - prefix list
- cidrs List<String>
- special value 'any'
- countries List<String>
- list of countries
- feeds List<String>
- list of feeds
- prefix
Lists List<String> - prefix list
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.
TagInfoResponse
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.47.1 published on Monday, Jun 24, 2024 by Pulumi