@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.71 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the specified network security perimeter by the name.
*
* Uses Azure REST API version 2024-06-01-preview.
*
* Other available API versions: 2021-02-01-preview, 2021-03-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2024-07-01. 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 getNetworkSecurityPerimeter(args: GetNetworkSecurityPerimeterArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkSecurityPerimeterResult>;
export interface GetNetworkSecurityPerimeterArgs {
/**
* The name of the network security perimeter.
*/
networkSecurityPerimeterName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The Network Security Perimeter resource
*/
export interface GetNetworkSecurityPerimeterResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource location.
*/
readonly location?: string;
/**
* Resource name.
*/
readonly name: string;
/**
* perimeter guid of the network security perimeter.
*/
readonly perimeterGuid: string;
/**
* The provisioning state of the scope assignment resource.
*/
readonly provisioningState: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets the specified network security perimeter by the name.
*
* Uses Azure REST API version 2024-06-01-preview.
*
* Other available API versions: 2021-02-01-preview, 2021-03-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2024-07-01. 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 getNetworkSecurityPerimeterOutput(args: GetNetworkSecurityPerimeterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkSecurityPerimeterResult>;
export interface GetNetworkSecurityPerimeterOutputArgs {
/**
* The name of the network security perimeter.
*/
networkSecurityPerimeterName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}