1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getNspProfile
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.getNspProfile

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 profile.

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 getNspProfile

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 getNspProfile(args: GetNspProfileArgs, opts?: InvokeOptions): Promise<GetNspProfileResult>
function getNspProfileOutput(args: GetNspProfileOutputArgs, opts?: InvokeOptions): Output<GetNspProfileResult>
Copy
def get_nsp_profile(network_security_perimeter_name: Optional[str] = None,
                    profile_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNspProfileResult
def get_nsp_profile_output(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[GetNspProfileResult]
Copy
func LookupNspProfile(ctx *Context, args *LookupNspProfileArgs, opts ...InvokeOption) (*LookupNspProfileResult, error)
func LookupNspProfileOutput(ctx *Context, args *LookupNspProfileOutputArgs, opts ...InvokeOption) LookupNspProfileResultOutput
Copy

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

public static class GetNspProfile 
{
    public static Task<GetNspProfileResult> InvokeAsync(GetNspProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetNspProfileResult> Invoke(GetNspProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNspProfileResult> getNspProfile(GetNspProfileArgs args, InvokeOptions options)
public static Output<GetNspProfileResult> getNspProfile(GetNspProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getNspProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ProfileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP profile.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ProfileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP profile.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
profileName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP profile.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
profileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NSP profile.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
network_security_perimeter_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network security perimeter.
profile_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the NSP profile.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
profileName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NSP profile.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getNspProfile Result

The following output properties are available:

AccessRulesVersion string
Version number that increases with every update to access rules within the profile.
AzureApiVersion string
The Azure API version of the resource.
DiagnosticSettingsVersion string
Version number that increases with every update to diagnostic settings within the profile.
Id string
Resource ID.
Name string
Resource name.
Type string
Resource type.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
AccessRulesVersion string
Version number that increases with every update to access rules within the profile.
AzureApiVersion string
The Azure API version of the resource.
DiagnosticSettingsVersion string
Version number that increases with every update to diagnostic settings within the profile.
Id string
Resource ID.
Name string
Resource name.
Type string
Resource type.
Location string
Resource location.
Tags map[string]string
Resource tags.
accessRulesVersion String
Version number that increases with every update to access rules within the profile.
azureApiVersion String
The Azure API version of the resource.
diagnosticSettingsVersion String
Version number that increases with every update to diagnostic settings within the profile.
id String
Resource ID.
name String
Resource name.
type String
Resource type.
location String
Resource location.
tags Map<String,String>
Resource tags.
accessRulesVersion string
Version number that increases with every update to access rules within the profile.
azureApiVersion string
The Azure API version of the resource.
diagnosticSettingsVersion string
Version number that increases with every update to diagnostic settings within the profile.
id string
Resource ID.
name string
Resource name.
type string
Resource type.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
access_rules_version str
Version number that increases with every update to access rules within the profile.
azure_api_version str
The Azure API version of the resource.
diagnostic_settings_version str
Version number that increases with every update to diagnostic settings within the profile.
id str
Resource ID.
name str
Resource name.
type str
Resource type.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
accessRulesVersion String
Version number that increases with every update to access rules within the profile.
azureApiVersion String
The Azure API version of the resource.
diagnosticSettingsVersion String
Version number that increases with every update to diagnostic settings within the profile.
id String
Resource ID.
name String
Resource name.
type String
Resource type.
location String
Resource location.
tags Map<String>
Resource tags.

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