@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.68 kB
TypeScript
import * as pulumi from "@pulumi/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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNspProfile(args: GetNspProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetNspProfileResult>;
export interface GetNspProfileArgs {
/**
* The name of the network security perimeter.
*/
networkSecurityPerimeterName: string;
/**
* The name of the NSP profile.
*/
profileName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The network security perimeter profile resource
*/
export interface GetNspProfileResult {
/**
* Version number that increases with every update to access rules within the profile.
*/
readonly accessRulesVersion: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Version number that increases with every update to diagnostic settings within the profile.
*/
readonly diagnosticSettingsVersion: string;
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource location.
*/
readonly location?: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNspProfileOutput(args: GetNspProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNspProfileResult>;
export interface GetNspProfileOutputArgs {
/**
* The name of the network security perimeter.
*/
networkSecurityPerimeterName: pulumi.Input<string>;
/**
* The name of the NSP profile.
*/
profileName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}