1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getNspLink
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.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.network.getNspLink

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.0.1 published on Monday, Apr 7, 2025 by Pulumi

Gets the specified NSP link resource.

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 getNspLink

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 getNspLink(args: GetNspLinkArgs, opts?: InvokeOptions): Promise<GetNspLinkResult>
function getNspLinkOutput(args: GetNspLinkOutputArgs, opts?: InvokeOptions): Output<GetNspLinkResult>
Copy
def get_nsp_link(link_name: Optional[str] = None,
                 network_security_perimeter_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetNspLinkResult
def get_nsp_link_output(link_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[GetNspLinkResult]
Copy
func LookupNspLink(ctx *Context, args *LookupNspLinkArgs, opts ...InvokeOption) (*LookupNspLinkResult, error)
func LookupNspLinkOutput(ctx *Context, args *LookupNspLinkOutputArgs, opts ...InvokeOption) LookupNspLinkResultOutput
Copy

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

public static class GetNspLink 
{
    public static Task<GetNspLinkResult> InvokeAsync(GetNspLinkArgs args, InvokeOptions? opts = null)
    public static Output<GetNspLinkResult> Invoke(GetNspLinkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNspLinkResult> getNspLink(GetNspLinkArgs args, InvokeOptions options)
public static Output<GetNspLinkResult> getNspLink(GetNspLinkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getNspLink
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LinkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP link.
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.
LinkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP link.
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.
linkName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP link.
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.
linkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP link.
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.
link_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the NSP link.
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.
linkName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP link.
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.

getNspLink Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
Resource ID.
LocalOutboundProfiles List<string>
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
Name string
Resource name.
ProvisioningState string
The provisioning state of the NSP Link resource.
RemoteOutboundProfiles List<string>
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
RemotePerimeterGuid string
Remote NSP Guid with which the link gets created.
RemotePerimeterLocation string
Remote NSP location with which the link gets created.
Status string
The NSP link state.
Type string
Resource type.
AutoApprovedRemotePerimeterResourceId string
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
Description string
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
LocalInboundProfiles List<string>
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
RemoteInboundProfiles List<string>
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
AzureApiVersion string
The Azure API version of the resource.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
Resource ID.
LocalOutboundProfiles []string
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
Name string
Resource name.
ProvisioningState string
The provisioning state of the NSP Link resource.
RemoteOutboundProfiles []string
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
RemotePerimeterGuid string
Remote NSP Guid with which the link gets created.
RemotePerimeterLocation string
Remote NSP location with which the link gets created.
Status string
The NSP link state.
Type string
Resource type.
AutoApprovedRemotePerimeterResourceId string
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
Description string
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
LocalInboundProfiles []string
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
RemoteInboundProfiles []string
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
azureApiVersion String
The Azure API version of the resource.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
Resource ID.
localOutboundProfiles List<String>
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
name String
Resource name.
provisioningState String
The provisioning state of the NSP Link resource.
remoteOutboundProfiles List<String>
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
remotePerimeterGuid String
Remote NSP Guid with which the link gets created.
remotePerimeterLocation String
Remote NSP location with which the link gets created.
status String
The NSP link state.
type String
Resource type.
autoApprovedRemotePerimeterResourceId String
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
description String
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
localInboundProfiles List<String>
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
remoteInboundProfiles List<String>
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
azureApiVersion string
The Azure API version of the resource.
etag string
A unique read-only string that changes whenever the resource is updated.
id string
Resource ID.
localOutboundProfiles string[]
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
name string
Resource name.
provisioningState string
The provisioning state of the NSP Link resource.
remoteOutboundProfiles string[]
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
remotePerimeterGuid string
Remote NSP Guid with which the link gets created.
remotePerimeterLocation string
Remote NSP location with which the link gets created.
status string
The NSP link state.
type string
Resource type.
autoApprovedRemotePerimeterResourceId string
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
description string
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
localInboundProfiles string[]
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
remoteInboundProfiles string[]
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
azure_api_version str
The Azure API version of the resource.
etag str
A unique read-only string that changes whenever the resource is updated.
id str
Resource ID.
local_outbound_profiles Sequence[str]
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
name str
Resource name.
provisioning_state str
The provisioning state of the NSP Link resource.
remote_outbound_profiles Sequence[str]
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
remote_perimeter_guid str
Remote NSP Guid with which the link gets created.
remote_perimeter_location str
Remote NSP location with which the link gets created.
status str
The NSP link state.
type str
Resource type.
auto_approved_remote_perimeter_resource_id str
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
description str
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
local_inbound_profiles Sequence[str]
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
remote_inbound_profiles Sequence[str]
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.
azureApiVersion String
The Azure API version of the resource.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
Resource ID.
localOutboundProfiles List<String>
Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
name String
Resource name.
provisioningState String
The provisioning state of the NSP Link resource.
remoteOutboundProfiles List<String>
Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.
remotePerimeterGuid String
Remote NSP Guid with which the link gets created.
remotePerimeterLocation String
Remote NSP location with which the link gets created.
status String
The NSP link state.
type String
Resource type.
autoApprovedRemotePerimeterResourceId String
Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.
description String
A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.
localInboundProfiles List<String>
Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.
remoteInboundProfiles List<String>
Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.

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.0.1 published on Monday, Apr 7, 2025 by Pulumi