1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. getNspProfile
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.network.getNspProfile

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the specified NSP profile. Azure REST API version: 2021-02-01-preview.

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

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.
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.
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.
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.
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.
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.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi