1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getNspAssociation
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.network.getNspAssociation

Explore with Pulumi AI

azure-native logo
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Gets the specified NSP association by name. Azure REST API version: 2021-02-01-preview.

    Other available API versions: 2023-07-01-preview, 2023-08-01-preview.

    Using getNspAssociation

    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 getNspAssociation(args: GetNspAssociationArgs, opts?: InvokeOptions): Promise<GetNspAssociationResult>
    function getNspAssociationOutput(args: GetNspAssociationOutputArgs, opts?: InvokeOptions): Output<GetNspAssociationResult>
    def get_nsp_association(association_name: Optional[str] = None,
                            network_security_perimeter_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetNspAssociationResult
    def get_nsp_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[GetNspAssociationResult]
    func LookupNspAssociation(ctx *Context, args *LookupNspAssociationArgs, opts ...InvokeOption) (*LookupNspAssociationResult, error)
    func LookupNspAssociationOutput(ctx *Context, args *LookupNspAssociationOutputArgs, opts ...InvokeOption) LookupNspAssociationResultOutput

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

    public static class GetNspAssociation 
    {
        public static Task<GetNspAssociationResult> InvokeAsync(GetNspAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetNspAssociationResult> Invoke(GetNspAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNspAssociationResult> getNspAssociation(GetNspAssociationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getNspAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssociationName string
    The name of the NSP association.
    NetworkSecurityPerimeterName string
    The name of the network security perimeter.
    ResourceGroupName string
    The name of the resource group.
    AssociationName string
    The name of the NSP association.
    NetworkSecurityPerimeterName string
    The name of the network security perimeter.
    ResourceGroupName string
    The name of the resource group.
    associationName String
    The name of the NSP association.
    networkSecurityPerimeterName String
    The name of the network security perimeter.
    resourceGroupName String
    The name of the resource group.
    associationName string
    The name of the NSP association.
    networkSecurityPerimeterName string
    The name of the network security perimeter.
    resourceGroupName string
    The name of the resource group.
    association_name str
    The name of the NSP association.
    network_security_perimeter_name str
    The name of the network security perimeter.
    resource_group_name str
    The name of the resource group.
    associationName String
    The name of the NSP association.
    networkSecurityPerimeterName String
    The name of the network security perimeter.
    resourceGroupName String
    The name of the resource group.

    getNspAssociation Result

    The following output properties are available:

    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.
    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.
    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.
    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.
    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.
    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
    azure-native logo
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi