Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

getAdminRule

Deprecated:

Please use one of the variants: AdminRule, DefaultAdminRule.

Network base 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:

ConfigurationName string

The name of the network manager security Configuration.

NetworkManagerName string

The name of the network manager.

ResourceGroupName string

The name of the resource group.

RuleCollectionName string

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.

NetworkManagerName string

The name of the network manager.

ResourceGroupName string

The name of the resource group.

RuleCollectionName string

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.

networkManagerName String

The name of the network manager.

resourceGroupName String

The name of the resource group.

ruleCollectionName String

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.

networkManagerName string

The name of the network manager.

resourceGroupName string

The name of the resource group.

ruleCollectionName string

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_name str

The name of the network manager.

resource_group_name str

The name of the resource group.

rule_collection_name str

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.

networkManagerName String

The name of the network manager.

resourceGroupName String

The name of the resource group.

ruleCollectionName String

The name of the network manager security Configuration rule collection.

ruleName 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.

SystemData Pulumi.AzureNative.Network.Outputs.SystemDataResponse

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.

SystemData SystemDataResponse

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.

systemData SystemDataResponse

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.

systemData SystemDataResponse

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 SystemDataResponse

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.

systemData Property Map

The system metadata related to this resource.

type String

Resource type.

Supporting Types

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The type of identity that last modified the resource.

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The type of identity that last modified the resource.

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0