azure-native.cloudngfw.getPreRule
Explore with Pulumi AI
Get a PreRulesResource
Uses Azure REST API version 2025-02-06-preview.
Other available API versions: 2023-09-01, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cloudngfw [ApiVersion]. See the version guide for details.
Using getPreRule
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 getPreRule(args: GetPreRuleArgs, opts?: InvokeOptions): Promise<GetPreRuleResult>
function getPreRuleOutput(args: GetPreRuleOutputArgs, opts?: InvokeOptions): Output<GetPreRuleResult>def get_pre_rule(global_rulestack_name: Optional[str] = None,
                 priority: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetPreRuleResult
def get_pre_rule_output(global_rulestack_name: Optional[pulumi.Input[str]] = None,
                 priority: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetPreRuleResult]func LookupPreRule(ctx *Context, args *LookupPreRuleArgs, opts ...InvokeOption) (*LookupPreRuleResult, error)
func LookupPreRuleOutput(ctx *Context, args *LookupPreRuleOutputArgs, opts ...InvokeOption) LookupPreRuleResultOutput> Note: This function is named LookupPreRule in the Go SDK.
public static class GetPreRule 
{
    public static Task<GetPreRuleResult> InvokeAsync(GetPreRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetPreRuleResult> Invoke(GetPreRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPreRuleResult> getPreRule(GetPreRuleArgs args, InvokeOptions options)
public static Output<GetPreRuleResult> getPreRule(GetPreRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cloudngfw:getPreRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Global
Rulestack stringName  - GlobalRulestack resource name
 - Priority string
 - Pre Rule priority
 
- Global
Rulestack stringName  - GlobalRulestack resource name
 - Priority string
 - Pre Rule priority
 
- global
Rulestack StringName  - GlobalRulestack resource name
 - priority String
 - Pre Rule priority
 
- global
Rulestack stringName  - GlobalRulestack resource name
 - priority string
 - Pre Rule priority
 
- global_
rulestack_ strname  - GlobalRulestack resource name
 - priority str
 - Pre Rule priority
 
- global
Rulestack StringName  - GlobalRulestack resource name
 - priority String
 - Pre Rule priority
 
getPreRule Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - 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
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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