azure-native.network.getNspAssociation
Explore with Pulumi AI
Gets the specified NSP association by name.
Uses Azure REST API version 2023-08-01-preview.
Other available API versions: 2021-02-01-preview, 2023-07-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
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)
public static Output<GetNspAssociationResult> getNspAssociation(GetNspAssociationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getNspAssociation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Association
Name string - The name of the NSP association.
 - Network
Security stringPerimeter Name  - The name of the network security perimeter.
 - Resource
Group stringName  - The name of the resource group.
 
- Association
Name string - The name of the NSP association.
 - Network
Security stringPerimeter Name  - The name of the network security perimeter.
 - Resource
Group stringName  - The name of the resource group.
 
- association
Name String - The name of the NSP association.
 - network
Security StringPerimeter Name  - The name of the network security perimeter.
 - resource
Group StringName  - The name of the resource group.
 
- association
Name string - The name of the NSP association.
 - network
Security stringPerimeter Name  - The name of the network security perimeter.
 - resource
Group stringName  - The name of the resource group.
 
- association_
name str - The name of the NSP association.
 - network_
security_ strperimeter_ name  - The name of the network security perimeter.
 - resource_
group_ strname  - The name of the resource group.
 
- association
Name String - The name of the NSP association.
 - network
Security StringPerimeter Name  - The name of the network security perimeter.
 - resource
Group StringName  - The name of the resource group.
 
getNspAssociation Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Has
Provisioning stringIssues  - Specifies if there are provisioning issues
 - Id string
 - Resource ID.
 - Name string
 - Resource name.
 - Provisioning
State string - The provisioning state of the resource association resource.
 - Type string
 - Resource type.
 - Access
Mode string - Access mode on the association.
 - Location string
 - Resource location.
 - Private
Link Pulumi.Resource Azure Native. Network. Outputs. Sub Resource Response  - The PaaS resource to be associated.
 - Profile
Pulumi.
Azure Native. Network. Outputs. Sub Resource Response  - Profile id to which the PaaS resource is associated.
 - Dictionary<string, string>
 - Resource tags.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Has
Provisioning stringIssues  - Specifies if there are provisioning issues
 - Id string
 - Resource ID.
 - Name string
 - Resource name.
 - Provisioning
State string - The provisioning state of the resource association resource.
 - Type string
 - Resource type.
 - Access
Mode string - Access mode on the association.
 - Location string
 - Resource location.
 - Private
Link SubResource Resource Response  - The PaaS resource to be associated.
 - Profile
Sub
Resource Response  - Profile id to which the PaaS resource is associated.
 - map[string]string
 - Resource tags.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - has
Provisioning StringIssues  - Specifies if there are provisioning issues
 - id String
 - Resource ID.
 - name String
 - Resource name.
 - provisioning
State String - The provisioning state of the resource association resource.
 - type String
 - Resource type.
 - access
Mode String - Access mode on the association.
 - location String
 - Resource location.
 - private
Link SubResource Resource Response  - The PaaS resource to be associated.
 - profile
Sub
Resource Response  - Profile id to which the PaaS resource is associated.
 - Map<String,String>
 - Resource tags.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - has
Provisioning stringIssues  - Specifies if there are provisioning issues
 - id string
 - Resource ID.
 - name string
 - Resource name.
 - provisioning
State string - The provisioning state of the resource association resource.
 - type string
 - Resource type.
 - access
Mode string - Access mode on the association.
 - location string
 - Resource location.
 - private
Link SubResource Resource Response  - The PaaS resource to be associated.
 - profile
Sub
Resource Response  - Profile id to which the PaaS resource is associated.
 - {[key: string]: string}
 - Resource tags.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - has_
provisioning_ strissues  - 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_ Subresource Resource Response  - The PaaS resource to be associated.
 - profile
Sub
Resource Response  - Profile id to which the PaaS resource is associated.
 - Mapping[str, str]
 - Resource tags.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - has
Provisioning StringIssues  - Specifies if there are provisioning issues
 - id String
 - Resource ID.
 - name String
 - Resource name.
 - provisioning
State String - The provisioning state of the resource association resource.
 - type String
 - Resource type.
 - access
Mode String - Access mode on the association.
 - location String
 - Resource location.
 - private
Link Property MapResource  - The PaaS resource to be associated.
 - profile Property Map
 - Profile id to which the PaaS resource is associated.
 - 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