azure-native.network.getAdminRule
Deprecated:
Please use one of the variants: AdminRule, DefaultAdminRule.
Gets a network manager security configuration admin rule. API Version: 2021-02-01-preview.
Using getAdminRule
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 getAdminRule(args: GetAdminRuleArgs, opts?: InvokeOptions): Promise<GetAdminRuleResult>
function getAdminRuleOutput(args: GetAdminRuleOutputArgs, opts?: InvokeOptions): Output<GetAdminRuleResult>
def get_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) -> GetAdminRuleResult
def get_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[GetAdminRuleResult]
func LookupAdminRule(ctx *Context, args *LookupAdminRuleArgs, opts ...InvokeOption) (*LookupAdminRuleResult, error)
func LookupAdminRuleOutput(ctx *Context, args *LookupAdminRuleOutputArgs, opts ...InvokeOption) LookupAdminRuleResultOutput
> Note: This function is named LookupAdminRule
in the Go SDK.
public static class GetAdminRule
{
public static Task<GetAdminRuleResult> InvokeAsync(GetAdminRuleArgs args, InvokeOptions? opts = null)
public static Output<GetAdminRuleResult> Invoke(GetAdminRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAdminRuleResult> getAdminRule(GetAdminRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getAdminRule
arguments:
# arguments dictionary
The following arguments are supported:
- Configuration
Name string The name of the network manager security Configuration.
- Network
Manager stringName The name of the network manager.
- Resource
Group stringName The name of the resource group.
- Rule
Collection stringName The name of the network manager security Configuration rule collection.
- Rule
Name string The name of the rule.
- Configuration
Name string The name of the network manager security Configuration.
- Network
Manager stringName The name of the network manager.
- Resource
Group stringName The name of the resource group.
- Rule
Collection stringName The name of the network manager security Configuration rule collection.
- Rule
Name string The name of the rule.
- configuration
Name String The name of the network manager security Configuration.
- network
Manager StringName The name of the network manager.
- resource
Group StringName The name of the resource group.
- rule
Collection StringName The name of the network manager security Configuration rule collection.
- rule
Name String The name of the rule.
- configuration
Name string The name of the network manager security Configuration.
- network
Manager stringName The name of the network manager.
- resource
Group stringName The name of the resource group.
- rule
Collection stringName The name of the network manager security Configuration rule collection.
- rule
Name 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.
- configuration
Name String The name of the network manager security Configuration.
- network
Manager StringName The name of the network manager.
- resource
Group StringName The name of the resource group.
- rule
Collection StringName The name of the network manager security Configuration rule collection.
- rule
Name String The name of the rule.
getAdminRule Result
The following output properties are available:
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Id string
Resource ID.
- Kind string
Whether the rule is custom or default.
- Name string
Resource name.
- System
Data Pulumi.Azure Native. Network. Outputs. System Data Response The system metadata related to this resource.
- Type string
Resource type.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Id string
Resource ID.
- Kind string
Whether the rule is custom or default.
- Name string
Resource name.
- System
Data SystemData Response The system metadata related to this resource.
- Type string
Resource type.
- etag String
A unique read-only string that changes whenever the resource is updated.
- id String
Resource ID.
- kind String
Whether the rule is custom or default.
- name String
Resource name.
- system
Data SystemData Response The system metadata related to this resource.
- type String
Resource type.
- etag string
A unique read-only string that changes whenever the resource is updated.
- id string
Resource ID.
- kind string
Whether the rule is custom or default.
- name string
Resource name.
- system
Data SystemData Response The system metadata related to this resource.
- type string
Resource type.
- etag str
A unique read-only string that changes whenever the resource is updated.
- id str
Resource ID.
- kind str
Whether the rule is custom or default.
- name str
Resource name.
- system_
data SystemData Response The system metadata related to this resource.
- type str
Resource type.
- etag String
A unique read-only string that changes whenever the resource is updated.
- id String
Resource ID.
- kind String
Whether the rule is custom or default.
- name String
Resource name.
- system
Data Property Map The system metadata related to this resource.
- type String
Resource type.
Supporting Types
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 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.
- 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 type of identity that last modified the resource.
- 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