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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getDefaultAdminRule
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a network manager security configuration admin rule. Azure REST API version: 2023-02-01.
Using getDefaultAdminRule
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 getDefaultAdminRule(args: GetDefaultAdminRuleArgs, opts?: InvokeOptions): Promise<GetDefaultAdminRuleResult>
function getDefaultAdminRuleOutput(args: GetDefaultAdminRuleOutputArgs, opts?: InvokeOptions): Output<GetDefaultAdminRuleResult>def get_default_admin_rule(configuration_name: Optional[str] = None,
                           network_manager_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           rule_collection_name: Optional[str] = None,
                           rule_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDefaultAdminRuleResult
def get_default_admin_rule_output(configuration_name: Optional[pulumi.Input[str]] = None,
                           network_manager_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           rule_collection_name: Optional[pulumi.Input[str]] = None,
                           rule_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDefaultAdminRuleResult]func LookupDefaultAdminRule(ctx *Context, args *LookupDefaultAdminRuleArgs, opts ...InvokeOption) (*LookupDefaultAdminRuleResult, error)
func LookupDefaultAdminRuleOutput(ctx *Context, args *LookupDefaultAdminRuleOutputArgs, opts ...InvokeOption) LookupDefaultAdminRuleResultOutput> Note: This function is named LookupDefaultAdminRule in the Go SDK.
public static class GetDefaultAdminRule 
{
    public static Task<GetDefaultAdminRuleResult> InvokeAsync(GetDefaultAdminRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetDefaultAdminRuleResult> Invoke(GetDefaultAdminRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDefaultAdminRuleResult> getDefaultAdminRule(GetDefaultAdminRuleArgs args, InvokeOptions options)
public static Output<GetDefaultAdminRuleResult> getDefaultAdminRule(GetDefaultAdminRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getDefaultAdminRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConfigurationName string
- The name of the network manager Security Configuration.
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- The name of the resource group.
- RuleCollection stringName 
- The name of the network manager security Configuration rule collection.
- RuleName string
- The name of the rule.
- ConfigurationName string
- The name of the network manager Security Configuration.
- NetworkManager stringName 
- The name of the network manager.
- ResourceGroup stringName 
- The name of the resource group.
- RuleCollection stringName 
- The name of the network manager security Configuration rule collection.
- RuleName string
- The name of the rule.
- configurationName String
- The name of the network manager Security Configuration.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- The name of the resource group.
- ruleCollection StringName 
- The name of the network manager security Configuration rule collection.
- ruleName String
- The name of the rule.
- configurationName string
- The name of the network manager Security Configuration.
- networkManager stringName 
- The name of the network manager.
- resourceGroup stringName 
- The name of the resource group.
- ruleCollection stringName 
- The name of the network manager security Configuration rule collection.
- ruleName string
- The name of the rule.
- configuration_name str
- The name of the network manager Security Configuration.
- network_manager_ strname 
- The name of the network manager.
- resource_group_ strname 
- The name of the resource group.
- rule_collection_ strname 
- The name of the network manager security Configuration rule collection.
- rule_name str
- The name of the rule.
- configurationName String
- The name of the network manager Security Configuration.
- networkManager StringName 
- The name of the network manager.
- resourceGroup StringName 
- The name of the resource group.
- ruleCollection StringName 
- The name of the network manager security Configuration rule collection.
- ruleName String
- The name of the rule.
getDefaultAdminRule Result
The following output properties are available:
- Access string
- Indicates the access allowed for this particular rule
- Description string
- A description for this rule. Restricted to 140 chars.
- DestinationPort List<string>Ranges 
- The destination port ranges.
- Destinations
List<Pulumi.Azure Native. Network. Outputs. Address Prefix Item Response> 
- The destination address prefixes. CIDR or destination IP ranges.
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- Priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState string
- The provisioning state of the resource.
- ResourceGuid string
- Unique identifier for this resource.
- SourcePort List<string>Ranges 
- The source port ranges.
- Sources
List<Pulumi.Azure Native. Network. Outputs. Address Prefix Item Response> 
- The CIDR or source IP ranges.
- SystemData Pulumi.Azure Native. Network. Outputs. System Data Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- Flag string
- Default rule flag.
- Access string
- Indicates the access allowed for this particular rule
- Description string
- A description for this rule. Restricted to 140 chars.
- DestinationPort []stringRanges 
- The destination port ranges.
- Destinations
[]AddressPrefix Item Response 
- The destination address prefixes. CIDR or destination IP ranges.
- Direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- Priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
- Network protocol this rule applies to.
- ProvisioningState string
- The provisioning state of the resource.
- ResourceGuid string
- Unique identifier for this resource.
- SourcePort []stringRanges 
- The source port ranges.
- Sources
[]AddressPrefix Item Response 
- The CIDR or source IP ranges.
- SystemData SystemData Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- Flag string
- Default rule flag.
- access String
- Indicates the access allowed for this particular rule
- description String
- A description for this rule. Restricted to 140 chars.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations
List<AddressPrefix Item Response> 
- The destination address prefixes. CIDR or destination IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- priority Integer
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
- Network protocol this rule applies to.
- provisioningState String
- The provisioning state of the resource.
- resourceGuid String
- Unique identifier for this resource.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources
List<AddressPrefix Item Response> 
- The CIDR or source IP ranges.
- systemData SystemData Response 
- The system metadata related to this resource.
- type String
- Resource type.
- flag String
- Default rule flag.
- access string
- Indicates the access allowed for this particular rule
- description string
- A description for this rule. Restricted to 140 chars.
- destinationPort string[]Ranges 
- The destination port ranges.
- destinations
AddressPrefix Item Response[] 
- The destination address prefixes. CIDR or destination IP ranges.
- direction string
- Indicates if the traffic matched against the rule in inbound or outbound.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Resource ID.
- name string
- Resource name.
- priority number
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol string
- Network protocol this rule applies to.
- provisioningState string
- The provisioning state of the resource.
- resourceGuid string
- Unique identifier for this resource.
- sourcePort string[]Ranges 
- The source port ranges.
- sources
AddressPrefix Item Response[] 
- The CIDR or source IP ranges.
- systemData SystemData Response 
- The system metadata related to this resource.
- type string
- Resource type.
- flag string
- Default rule flag.
- access str
- Indicates the access allowed for this particular rule
- description str
- A description for this rule. Restricted to 140 chars.
- destination_port_ Sequence[str]ranges 
- The destination port ranges.
- destinations
Sequence[AddressPrefix Item Response] 
- The destination address prefixes. CIDR or destination IP ranges.
- direction str
- Indicates if the traffic matched against the rule in inbound or outbound.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Resource ID.
- name str
- Resource name.
- priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol str
- Network protocol this rule applies to.
- provisioning_state str
- The provisioning state of the resource.
- resource_guid str
- Unique identifier for this resource.
- source_port_ Sequence[str]ranges 
- The source port ranges.
- sources
Sequence[AddressPrefix Item Response] 
- The CIDR or source IP ranges.
- system_data SystemData Response 
- The system metadata related to this resource.
- type str
- Resource type.
- flag str
- Default rule flag.
- access String
- Indicates the access allowed for this particular rule
- description String
- A description for this rule. Restricted to 140 chars.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations List<Property Map>
- The destination address prefixes. CIDR or destination IP ranges.
- direction String
- Indicates if the traffic matched against the rule in inbound or outbound.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- priority Number
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
- Network protocol this rule applies to.
- provisioningState String
- The provisioning state of the resource.
- resourceGuid String
- Unique identifier for this resource.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
- systemData Property Map
- The system metadata related to this resource.
- type String
- Resource type.
- flag String
- Default rule flag.
Supporting Types
AddressPrefixItemResponse   
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
- addressPrefix string
- Address prefix.
- addressPrefix stringType 
- Address prefix type.
- address_prefix str
- Address prefix.
- address_prefix_ strtype 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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.89.1 published on Sunday, Mar 2, 2025 by Pulumi