1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. NetworkSecurityPerimeterProfile
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.network.NetworkSecurityPerimeterProfile

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

The network security perimeter profile 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.

Example Usage

NspProfilesPut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var networkSecurityPerimeterProfile = new AzureNative.Network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfile", new()
    {
        NetworkSecurityPerimeterName = "nsp1",
        ProfileName = "profile1",
        ResourceGroupName = "rg1",
    });

});
Copy
package main

import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewNetworkSecurityPerimeterProfile(ctx, "networkSecurityPerimeterProfile", &network.NetworkSecurityPerimeterProfileArgs{
			NetworkSecurityPerimeterName: pulumi.String("nsp1"),
			ProfileName:                  pulumi.String("profile1"),
			ResourceGroupName:            pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.NetworkSecurityPerimeterProfile;
import com.pulumi.azurenative.network.NetworkSecurityPerimeterProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var networkSecurityPerimeterProfile = new NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfile", NetworkSecurityPerimeterProfileArgs.builder()
            .networkSecurityPerimeterName("nsp1")
            .profileName("profile1")
            .resourceGroupName("rg1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const networkSecurityPerimeterProfile = new azure_native.network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfile", {
    networkSecurityPerimeterName: "nsp1",
    profileName: "profile1",
    resourceGroupName: "rg1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

network_security_perimeter_profile = azure_native.network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfile",
    network_security_perimeter_name="nsp1",
    profile_name="profile1",
    resource_group_name="rg1")
Copy
resources:
  networkSecurityPerimeterProfile:
    type: azure-native:network:NetworkSecurityPerimeterProfile
    properties:
      networkSecurityPerimeterName: nsp1
      profileName: profile1
      resourceGroupName: rg1
Copy

Create NetworkSecurityPerimeterProfile Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NetworkSecurityPerimeterProfile(name: string, args: NetworkSecurityPerimeterProfileArgs, opts?: CustomResourceOptions);
@overload
def NetworkSecurityPerimeterProfile(resource_name: str,
                                    args: NetworkSecurityPerimeterProfileArgs,
                                    opts: Optional[ResourceOptions] = None)

@overload
def NetworkSecurityPerimeterProfile(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    network_security_perimeter_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    id: Optional[str] = None,
                                    location: Optional[str] = None,
                                    profile_name: Optional[str] = None,
                                    tags: Optional[Mapping[str, str]] = None)
func NewNetworkSecurityPerimeterProfile(ctx *Context, name string, args NetworkSecurityPerimeterProfileArgs, opts ...ResourceOption) (*NetworkSecurityPerimeterProfile, error)
public NetworkSecurityPerimeterProfile(string name, NetworkSecurityPerimeterProfileArgs args, CustomResourceOptions? opts = null)
public NetworkSecurityPerimeterProfile(String name, NetworkSecurityPerimeterProfileArgs args)
public NetworkSecurityPerimeterProfile(String name, NetworkSecurityPerimeterProfileArgs args, CustomResourceOptions options)
type: azure-native:network:NetworkSecurityPerimeterProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkSecurityPerimeterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkSecurityPerimeterProfileArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkSecurityPerimeterProfileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkSecurityPerimeterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkSecurityPerimeterProfileArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var networkSecurityPerimeterProfileResource = new AzureNative.Network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfileResource", new()
{
    NetworkSecurityPerimeterName = "string",
    ResourceGroupName = "string",
    Id = "string",
    Location = "string",
    ProfileName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := network.NewNetworkSecurityPerimeterProfile(ctx, "networkSecurityPerimeterProfileResource", &network.NetworkSecurityPerimeterProfileArgs{
	NetworkSecurityPerimeterName: pulumi.String("string"),
	ResourceGroupName:            pulumi.String("string"),
	Id:                           pulumi.String("string"),
	Location:                     pulumi.String("string"),
	ProfileName:                  pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var networkSecurityPerimeterProfileResource = new NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfileResource", NetworkSecurityPerimeterProfileArgs.builder()
    .networkSecurityPerimeterName("string")
    .resourceGroupName("string")
    .id("string")
    .location("string")
    .profileName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
network_security_perimeter_profile_resource = azure_native.network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfileResource",
    network_security_perimeter_name="string",
    resource_group_name="string",
    id="string",
    location="string",
    profile_name="string",
    tags={
        "string": "string",
    })
Copy
const networkSecurityPerimeterProfileResource = new azure_native.network.NetworkSecurityPerimeterProfile("networkSecurityPerimeterProfileResource", {
    networkSecurityPerimeterName: "string",
    resourceGroupName: "string",
    id: "string",
    location: "string",
    profileName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:network:NetworkSecurityPerimeterProfile
properties:
    id: string
    location: string
    networkSecurityPerimeterName: string
    profileName: string
    resourceGroupName: string
    tags:
        string: string
Copy

NetworkSecurityPerimeterProfile Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NetworkSecurityPerimeterProfile resource accepts the following input properties:

NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Id string
Resource ID.
Location string
Resource location.
ProfileName Changes to this property will trigger replacement. string
The name of the NSP profile.
Tags Dictionary<string, string>
Resource tags.
NetworkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Id string
Resource ID.
Location string
Resource location.
ProfileName Changes to this property will trigger replacement. string
The name of the NSP profile.
Tags map[string]string
Resource tags.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
id String
Resource ID.
location String
Resource location.
profileName Changes to this property will trigger replacement. String
The name of the NSP profile.
tags Map<String,String>
Resource tags.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
id string
Resource ID.
location string
Resource location.
profileName Changes to this property will trigger replacement. string
The name of the NSP profile.
tags {[key: string]: string}
Resource tags.
network_security_perimeter_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network security perimeter.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
id str
Resource ID.
location str
Resource location.
profile_name Changes to this property will trigger replacement. str
The name of the NSP profile.
tags Mapping[str, str]
Resource tags.
networkSecurityPerimeterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network security perimeter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
id String
Resource ID.
location String
Resource location.
profileName Changes to this property will trigger replacement. String
The name of the NSP profile.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkSecurityPerimeterProfile resource produces the following output properties:

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
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
Type string
Resource type.
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
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
Type string
Resource type.
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
The provider-assigned unique ID for this managed resource.
name String
Resource name.
type String
Resource type.
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
The provider-assigned unique ID for this managed resource.
name string
Resource name.
type string
Resource type.
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
The provider-assigned unique ID for this managed resource.
name str
Resource name.
type str
Resource type.
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
The provider-assigned unique ID for this managed resource.
name String
Resource name.
type String
Resource type.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:NetworkSecurityPerimeterProfile profile1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi