Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

getNspAccessRule

The NSP access rule resource API Version: 2021-02-01-preview.

Using getNspAccessRule

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 getNspAccessRule(args: GetNspAccessRuleArgs, opts?: InvokeOptions): Promise<GetNspAccessRuleResult>
function getNspAccessRuleOutput(args: GetNspAccessRuleOutputArgs, opts?: InvokeOptions): Output<GetNspAccessRuleResult>
def get_nsp_access_rule(access_rule_name: Optional[str] = None,
                        network_security_perimeter_name: Optional[str] = None,
                        profile_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetNspAccessRuleResult
def get_nsp_access_rule_output(access_rule_name: Optional[pulumi.Input[str]] = None,
                        network_security_perimeter_name: Optional[pulumi.Input[str]] = None,
                        profile_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetNspAccessRuleResult]
func LookupNspAccessRule(ctx *Context, args *LookupNspAccessRuleArgs, opts ...InvokeOption) (*LookupNspAccessRuleResult, error)
func LookupNspAccessRuleOutput(ctx *Context, args *LookupNspAccessRuleOutputArgs, opts ...InvokeOption) LookupNspAccessRuleResultOutput

> Note: This function is named LookupNspAccessRule in the Go SDK.

public static class GetNspAccessRule 
{
    public static Task<GetNspAccessRuleResult> InvokeAsync(GetNspAccessRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetNspAccessRuleResult> Invoke(GetNspAccessRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNspAccessRuleResult> getNspAccessRule(GetNspAccessRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:network:getNspAccessRule
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AccessRuleName string

The name of the NSP access rule.

NetworkSecurityPerimeterName string

The name of the network security perimeter.

ProfileName string

The name of the NSP profile.

ResourceGroupName string

The name of the resource group.

AccessRuleName string

The name of the NSP access rule.

NetworkSecurityPerimeterName string

The name of the network security perimeter.

ProfileName string

The name of the NSP profile.

ResourceGroupName string

The name of the resource group.

accessRuleName String

The name of the NSP access rule.

networkSecurityPerimeterName String

The name of the network security perimeter.

profileName String

The name of the NSP profile.

resourceGroupName String

The name of the resource group.

accessRuleName string

The name of the NSP access rule.

networkSecurityPerimeterName string

The name of the network security perimeter.

profileName string

The name of the NSP profile.

resourceGroupName string

The name of the resource group.

access_rule_name str

The name of the NSP access rule.

network_security_perimeter_name str

The name of the network security perimeter.

profile_name str

The name of the NSP profile.

resource_group_name str

The name of the resource group.

accessRuleName String

The name of the NSP access rule.

networkSecurityPerimeterName String

The name of the network security perimeter.

profileName String

The name of the NSP profile.

resourceGroupName String

The name of the resource group.

getNspAccessRule Result

The following output properties are available:

Id string

Resource ID.

Name string

Resource name.

ProvisioningState string

The provisioning state of the scope assignment resource.

Type string

Resource type.

AddressPrefixes List<string>

Inbound address prefixes (IPv4/IPv6)

Direction string

Direction that specifies whether the access rules is inbound/outbound.

FullyQualifiedDomainNames List<string>

Outbound rules fully qualified domain name format.

Location string

Resource location.

NetworkSecurityPerimeters List<Pulumi.AzureNative.Network.Outputs.PerimeterBasedAccessRuleResponse>

Inbound rule specified by the perimeter id.

Subscriptions List<string>

Subscription id in the ARM id format.

Tags Dictionary<string, string>

Resource tags.

Id string

Resource ID.

Name string

Resource name.

ProvisioningState string

The provisioning state of the scope assignment resource.

Type string

Resource type.

AddressPrefixes []string

Inbound address prefixes (IPv4/IPv6)

Direction string

Direction that specifies whether the access rules is inbound/outbound.

FullyQualifiedDomainNames []string

Outbound rules fully qualified domain name format.

Location string

Resource location.

NetworkSecurityPerimeters []PerimeterBasedAccessRuleResponse

Inbound rule specified by the perimeter id.

Subscriptions []string

Subscription id in the ARM id format.

Tags map[string]string

Resource tags.

id String

Resource ID.

name String

Resource name.

provisioningState String

The provisioning state of the scope assignment resource.

type String

Resource type.

addressPrefixes List<String>

Inbound address prefixes (IPv4/IPv6)

direction String

Direction that specifies whether the access rules is inbound/outbound.

fullyQualifiedDomainNames List<String>

Outbound rules fully qualified domain name format.

location String

Resource location.

networkSecurityPerimeters List<PerimeterBasedAccessRuleResponse>

Inbound rule specified by the perimeter id.

subscriptions List<String>

Subscription id in the ARM id format.

tags Map<String,String>

Resource tags.

id string

Resource ID.

name string

Resource name.

provisioningState string

The provisioning state of the scope assignment resource.

type string

Resource type.

addressPrefixes string[]

Inbound address prefixes (IPv4/IPv6)

direction string

Direction that specifies whether the access rules is inbound/outbound.

fullyQualifiedDomainNames string[]

Outbound rules fully qualified domain name format.

location string

Resource location.

networkSecurityPerimeters PerimeterBasedAccessRuleResponse[]

Inbound rule specified by the perimeter id.

subscriptions string[]

Subscription id in the ARM id format.

tags {[key: string]: string}

Resource tags.

id str

Resource ID.

name str

Resource name.

provisioning_state str

The provisioning state of the scope assignment resource.

type str

Resource type.

address_prefixes Sequence[str]

Inbound address prefixes (IPv4/IPv6)

direction str

Direction that specifies whether the access rules is inbound/outbound.

fully_qualified_domain_names Sequence[str]

Outbound rules fully qualified domain name format.

location str

Resource location.

network_security_perimeters Sequence[PerimeterBasedAccessRuleResponse]

Inbound rule specified by the perimeter id.

subscriptions Sequence[str]

Subscription id in the ARM id format.

tags Mapping[str, str]

Resource tags.

id String

Resource ID.

name String

Resource name.

provisioningState String

The provisioning state of the scope assignment resource.

type String

Resource type.

addressPrefixes List<String>

Inbound address prefixes (IPv4/IPv6)

direction String

Direction that specifies whether the access rules is inbound/outbound.

fullyQualifiedDomainNames List<String>

Outbound rules fully qualified domain name format.

location String

Resource location.

networkSecurityPerimeters List<Property Map>

Inbound rule specified by the perimeter id.

subscriptions List<String>

Subscription id in the ARM id format.

tags Map<String>

Resource tags.

Supporting Types

PerimeterBasedAccessRuleResponse

Location string

Location of the NSP supplied.

PerimeterGuid string

Resource guid of the NSP supplied.

Id string

NSP id in the ARM id format.

Location string

Location of the NSP supplied.

PerimeterGuid string

Resource guid of the NSP supplied.

Id string

NSP id in the ARM id format.

location String

Location of the NSP supplied.

perimeterGuid String

Resource guid of the NSP supplied.

id String

NSP id in the ARM id format.

location string

Location of the NSP supplied.

perimeterGuid string

Resource guid of the NSP supplied.

id string

NSP id in the ARM id format.

location str

Location of the NSP supplied.

perimeter_guid str

Resource guid of the NSP supplied.

id str

NSP id in the ARM id format.

location String

Location of the NSP supplied.

perimeterGuid String

Resource guid of the NSP supplied.

id String

NSP id in the ARM id format.

Package Details

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