1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getNetworkSecurityPerimeterAssociation
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.network.getNetworkSecurityPerimeterAssociation

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the specified NSP association by name.

Uses Azure REST API version 2024-06-01-preview.

Using getNetworkSecurityPerimeterAssociation

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 getNetworkSecurityPerimeterAssociation(args: GetNetworkSecurityPerimeterAssociationArgs, opts?: InvokeOptions): Promise<GetNetworkSecurityPerimeterAssociationResult>
function getNetworkSecurityPerimeterAssociationOutput(args: GetNetworkSecurityPerimeterAssociationOutputArgs, opts?: InvokeOptions): Output<GetNetworkSecurityPerimeterAssociationResult>
Copy
def get_network_security_perimeter_association(association_name: Optional[str] = None,
                                               network_security_perimeter_name: Optional[str] = None,
                                               resource_group_name: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetNetworkSecurityPerimeterAssociationResult
def get_network_security_perimeter_association_output(association_name: Optional[pulumi.Input[str]] = None,
                                               network_security_perimeter_name: Optional[pulumi.Input[str]] = None,
                                               resource_group_name: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSecurityPerimeterAssociationResult]
Copy
func LookupNetworkSecurityPerimeterAssociation(ctx *Context, args *LookupNetworkSecurityPerimeterAssociationArgs, opts ...InvokeOption) (*LookupNetworkSecurityPerimeterAssociationResult, error)
func LookupNetworkSecurityPerimeterAssociationOutput(ctx *Context, args *LookupNetworkSecurityPerimeterAssociationOutputArgs, opts ...InvokeOption) LookupNetworkSecurityPerimeterAssociationResultOutput
Copy

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

public static class GetNetworkSecurityPerimeterAssociation 
{
    public static Task<GetNetworkSecurityPerimeterAssociationResult> InvokeAsync(GetNetworkSecurityPerimeterAssociationArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkSecurityPerimeterAssociationResult> Invoke(GetNetworkSecurityPerimeterAssociationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkSecurityPerimeterAssociationResult> getNetworkSecurityPerimeterAssociation(GetNetworkSecurityPerimeterAssociationArgs args, InvokeOptions options)
public static Output<GetNetworkSecurityPerimeterAssociationResult> getNetworkSecurityPerimeterAssociation(GetNetworkSecurityPerimeterAssociationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getNetworkSecurityPerimeterAssociation
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AssociationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP association.
NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
AssociationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP association.
NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
associationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP association.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
associationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP association.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
association_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the NSP association.
network_security_perimeter_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network security perimeter.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
associationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP association.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getNetworkSecurityPerimeterAssociation Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
HasProvisioningIssues string
Specifies if there are provisioning issues
Id string
Resource ID.
Name string
Resource name.
ProvisioningState string
The provisioning state of the resource association resource.
Type string
Resource type.
AccessMode string
Access mode on the association.
Location string
Resource location.
PrivateLinkResource Pulumi.AzureNative.Network.Outputs.SubResourceResponse
The PaaS resource to be associated.
Profile Pulumi.AzureNative.Network.Outputs.SubResourceResponse
Profile id to which the PaaS resource is associated.
Tags Dictionary<string, string>
Resource tags.
AzureApiVersion string
The Azure API version of the resource.
HasProvisioningIssues string
Specifies if there are provisioning issues
Id string
Resource ID.
Name string
Resource name.
ProvisioningState string
The provisioning state of the resource association resource.
Type string
Resource type.
AccessMode string
Access mode on the association.
Location string
Resource location.
PrivateLinkResource SubResourceResponse
The PaaS resource to be associated.
Profile SubResourceResponse
Profile id to which the PaaS resource is associated.
Tags map[string]string
Resource tags.
azureApiVersion String
The Azure API version of the resource.
hasProvisioningIssues String
Specifies if there are provisioning issues
id String
Resource ID.
name String
Resource name.
provisioningState String
The provisioning state of the resource association resource.
type String
Resource type.
accessMode String
Access mode on the association.
location String
Resource location.
privateLinkResource SubResourceResponse
The PaaS resource to be associated.
profile SubResourceResponse
Profile id to which the PaaS resource is associated.
tags Map<String,String>
Resource tags.
azureApiVersion string
The Azure API version of the resource.
hasProvisioningIssues string
Specifies if there are provisioning issues
id string
Resource ID.
name string
Resource name.
provisioningState string
The provisioning state of the resource association resource.
type string
Resource type.
accessMode string
Access mode on the association.
location string
Resource location.
privateLinkResource SubResourceResponse
The PaaS resource to be associated.
profile SubResourceResponse
Profile id to which the PaaS resource is associated.
tags {[key: string]: string}
Resource tags.
azure_api_version str
The Azure API version of the resource.
has_provisioning_issues str
Specifies if there are provisioning issues
id str
Resource ID.
name str
Resource name.
provisioning_state str
The provisioning state of the resource association resource.
type str
Resource type.
access_mode str
Access mode on the association.
location str
Resource location.
private_link_resource SubResourceResponse
The PaaS resource to be associated.
profile SubResourceResponse
Profile id to which the PaaS resource is associated.
tags Mapping[str, str]
Resource tags.
azureApiVersion String
The Azure API version of the resource.
hasProvisioningIssues String
Specifies if there are provisioning issues
id String
Resource ID.
name String
Resource name.
provisioningState String
The provisioning state of the resource association resource.
type String
Resource type.
accessMode String
Access mode on the association.
location String
Resource location.
privateLinkResource Property Map
The PaaS resource to be associated.
profile Property Map
Profile id to which the PaaS resource is associated.
tags Map<String>
Resource tags.

Supporting Types

SubResourceResponse

Id string
Resource ID.
Id string
Resource ID.
id String
Resource ID.
id string
Resource ID.
id str
Resource ID.
id String
Resource ID.

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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi