@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* The NSP access rule resource
*
* Uses Azure REST API version 2024-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-06-01-preview.
*
* Other available API versions: 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 class NetworkSecurityPerimeterAccessRule extends pulumi.CustomResource {
/**
* Get an existing NetworkSecurityPerimeterAccessRule resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NetworkSecurityPerimeterAccessRule;
/**
* Returns true if the given object is an instance of NetworkSecurityPerimeterAccessRule. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is NetworkSecurityPerimeterAccessRule;
/**
* Inbound address prefixes (IPv4/IPv6)
*/
readonly addressPrefixes: pulumi.Output<string[] | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Direction that specifies whether the access rules is inbound/outbound.
*/
readonly direction: pulumi.Output<string | undefined>;
/**
* Outbound rules email address format.
*/
readonly emailAddresses: pulumi.Output<string[] | undefined>;
/**
* Outbound rules fully qualified domain name format.
*/
readonly fullyQualifiedDomainNames: pulumi.Output<string[] | undefined>;
/**
* Resource location.
*/
readonly location: pulumi.Output<string | undefined>;
/**
* Resource name.
*/
readonly name: pulumi.Output<string>;
/**
* Rule specified by the perimeter id.
*/
readonly networkSecurityPerimeters: pulumi.Output<outputs.network.PerimeterBasedAccessRuleResponse[]>;
/**
* Outbound rules phone number format.
*/
readonly phoneNumbers: pulumi.Output<string[] | undefined>;
/**
* The provisioning state of the scope assignment resource.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Inbound rules service tag names.
*/
readonly serviceTags: pulumi.Output<string[] | undefined>;
/**
* List of subscription ids
*/
readonly subscriptions: pulumi.Output<outputs.network.SubscriptionIdResponse[] | undefined>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Resource type.
*/
readonly type: pulumi.Output<string>;
/**
* Create a NetworkSecurityPerimeterAccessRule resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: NetworkSecurityPerimeterAccessRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a NetworkSecurityPerimeterAccessRule resource.
*/
export interface NetworkSecurityPerimeterAccessRuleArgs {
/**
* The name of the NSP access rule.
*/
accessRuleName?: pulumi.Input<string>;
/**
* Inbound address prefixes (IPv4/IPv6)
*/
addressPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Direction that specifies whether the access rules is inbound/outbound.
*/
direction?: pulumi.Input<string | enums.network.AccessRuleDirection>;
/**
* Outbound rules email address format.
*/
emailAddresses?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Outbound rules fully qualified domain name format.
*/
fullyQualifiedDomainNames?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Resource ID.
*/
id?: pulumi.Input<string>;
/**
* Resource location.
*/
location?: pulumi.Input<string>;
/**
* The name of the network security perimeter.
*/
networkSecurityPerimeterName: pulumi.Input<string>;
/**
* Outbound rules phone number format.
*/
phoneNumbers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the NSP profile.
*/
profileName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Inbound rules service tag names.
*/
serviceTags?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of subscription ids
*/
subscriptions?: pulumi.Input<pulumi.Input<inputs.network.SubscriptionIdArgs>[]>;
/**
* Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}