This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
azure-native.network.NetworkSecurityPerimeter
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
The Network Security Perimeter resource Azure REST API version: 2021-03-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview.
Other available API versions: 2021-02-01-preview, 2023-07-01-preview, 2023-08-01-preview.
Example Usage
Put Network Security Perimeter
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkSecurityPerimeter = new AzureNative.Network.NetworkSecurityPerimeter("networkSecurityPerimeter", new()
{
Description = "Description of TestNetworkSecurityPerimeter",
DisplayName = "TestNetworkSecurityPerimeter",
NetworkSecurityPerimeterName = "nsp1",
ResourceGroupName = "rg1",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewNetworkSecurityPerimeter(ctx, "networkSecurityPerimeter", &network.NetworkSecurityPerimeterArgs{
Description: pulumi.String("Description of TestNetworkSecurityPerimeter"),
DisplayName: pulumi.String("TestNetworkSecurityPerimeter"),
NetworkSecurityPerimeterName: pulumi.String("nsp1"),
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.NetworkSecurityPerimeter;
import com.pulumi.azurenative.network.NetworkSecurityPerimeterArgs;
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 networkSecurityPerimeter = new NetworkSecurityPerimeter("networkSecurityPerimeter", NetworkSecurityPerimeterArgs.builder()
.description("Description of TestNetworkSecurityPerimeter")
.displayName("TestNetworkSecurityPerimeter")
.networkSecurityPerimeterName("nsp1")
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
network_security_perimeter = azure_native.network.NetworkSecurityPerimeter("networkSecurityPerimeter",
description="Description of TestNetworkSecurityPerimeter",
display_name="TestNetworkSecurityPerimeter",
network_security_perimeter_name="nsp1",
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkSecurityPerimeter = new azure_native.network.NetworkSecurityPerimeter("networkSecurityPerimeter", {
description: "Description of TestNetworkSecurityPerimeter",
displayName: "TestNetworkSecurityPerimeter",
networkSecurityPerimeterName: "nsp1",
resourceGroupName: "rg1",
});
resources:
networkSecurityPerimeter:
type: azure-native:network:NetworkSecurityPerimeter
properties:
description: Description of TestNetworkSecurityPerimeter
displayName: TestNetworkSecurityPerimeter
networkSecurityPerimeterName: nsp1
resourceGroupName: rg1
Create NetworkSecurityPerimeter Resource
new NetworkSecurityPerimeter(name: string, args: NetworkSecurityPerimeterArgs, opts?: CustomResourceOptions);
@overload
def NetworkSecurityPerimeter(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
network_security_perimeter_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def NetworkSecurityPerimeter(resource_name: str,
args: NetworkSecurityPerimeterArgs,
opts: Optional[ResourceOptions] = None)
func NewNetworkSecurityPerimeter(ctx *Context, name string, args NetworkSecurityPerimeterArgs, opts ...ResourceOption) (*NetworkSecurityPerimeter, error)
public NetworkSecurityPerimeter(string name, NetworkSecurityPerimeterArgs args, CustomResourceOptions? opts = null)
public NetworkSecurityPerimeter(String name, NetworkSecurityPerimeterArgs args)
public NetworkSecurityPerimeter(String name, NetworkSecurityPerimeterArgs args, CustomResourceOptions options)
type: azure-native:network:NetworkSecurityPerimeter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkSecurityPerimeterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkSecurityPerimeterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkSecurityPerimeterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkSecurityPerimeterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkSecurityPerimeterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NetworkSecurityPerimeter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NetworkSecurityPerimeter resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Description string
- A description of the network security perimeter.
- Display
Name string - A friendly name for the network security perimeter.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Network
Security stringPerimeter Name - The name of the network security perimeter.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group.
- Description string
- A description of the network security perimeter.
- Display
Name string - A friendly name for the network security perimeter.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Network
Security stringPerimeter Name - The name of the network security perimeter.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group.
- description String
- A description of the network security perimeter.
- display
Name String - A friendly name for the network security perimeter.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- network
Security StringPerimeter Name - The name of the network security perimeter.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group.
- description string
- A description of the network security perimeter.
- display
Name string - A friendly name for the network security perimeter.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- network
Security stringPerimeter Name - The name of the network security perimeter.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group.
- description str
- A description of the network security perimeter.
- display_
name str - A friendly name for the network security perimeter.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- network_
security_ strperimeter_ name - The name of the network security perimeter.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group.
- description String
- A description of the network security perimeter.
- display
Name String - A friendly name for the network security perimeter.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- network
Security StringPerimeter Name - The name of the network security perimeter.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkSecurityPerimeter resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the scope assignment resource.
- Type string
- Resource type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the scope assignment resource.
- Type string
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the scope assignment resource.
- type String
- Resource type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the scope assignment resource.
- type string
- Resource type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the scope assignment resource.
- type str
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the scope assignment resource.
- 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:NetworkSecurityPerimeter TestNetworkSecurityPerimeter /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}
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 v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi