azure-native.network.NetworkSecurityPerimeterLoggingConfiguration
Explore with Pulumi AI
The NSP logging configuration
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.
Create NetworkSecurityPerimeterLoggingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkSecurityPerimeterLoggingConfiguration(name: string, args: NetworkSecurityPerimeterLoggingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def NetworkSecurityPerimeterLoggingConfiguration(resource_name: str,
args: NetworkSecurityPerimeterLoggingConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkSecurityPerimeterLoggingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_security_perimeter_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
logging_configuration_name: Optional[str] = None,
properties: Optional[NspLoggingConfigurationPropertiesArgs] = None)
func NewNetworkSecurityPerimeterLoggingConfiguration(ctx *Context, name string, args NetworkSecurityPerimeterLoggingConfigurationArgs, opts ...ResourceOption) (*NetworkSecurityPerimeterLoggingConfiguration, error)
public NetworkSecurityPerimeterLoggingConfiguration(string name, NetworkSecurityPerimeterLoggingConfigurationArgs args, CustomResourceOptions? opts = null)
public NetworkSecurityPerimeterLoggingConfiguration(String name, NetworkSecurityPerimeterLoggingConfigurationArgs args)
public NetworkSecurityPerimeterLoggingConfiguration(String name, NetworkSecurityPerimeterLoggingConfigurationArgs args, CustomResourceOptions options)
type: azure-native:network:NetworkSecurityPerimeterLoggingConfiguration
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. NetworkSecurityPerimeterLoggingConfigurationArgs - 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. NetworkSecurityPerimeterLoggingConfigurationArgs - 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. NetworkSecurityPerimeterLoggingConfigurationArgs - 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. NetworkSecurityPerimeterLoggingConfigurationArgs - 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. NetworkSecurityPerimeterLoggingConfigurationArgs - 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 networkSecurityPerimeterLoggingConfigurationResource = new AzureNative.Network.NetworkSecurityPerimeterLoggingConfiguration("networkSecurityPerimeterLoggingConfigurationResource", new()
{
NetworkSecurityPerimeterName = "string",
ResourceGroupName = "string",
LoggingConfigurationName = "string",
Properties = new AzureNative.Network.Inputs.NspLoggingConfigurationPropertiesArgs
{
EnabledLogCategories = new[]
{
"string",
},
Version = "string",
},
});
example, err := network.NewNetworkSecurityPerimeterLoggingConfiguration(ctx, "networkSecurityPerimeterLoggingConfigurationResource", &network.NetworkSecurityPerimeterLoggingConfigurationArgs{
NetworkSecurityPerimeterName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
LoggingConfigurationName: pulumi.String("string"),
Properties: &network.NspLoggingConfigurationPropertiesArgs{
EnabledLogCategories: pulumi.StringArray{
pulumi.String("string"),
},
Version: pulumi.String("string"),
},
})
var networkSecurityPerimeterLoggingConfigurationResource = new NetworkSecurityPerimeterLoggingConfiguration("networkSecurityPerimeterLoggingConfigurationResource", NetworkSecurityPerimeterLoggingConfigurationArgs.builder()
.networkSecurityPerimeterName("string")
.resourceGroupName("string")
.loggingConfigurationName("string")
.properties(NspLoggingConfigurationPropertiesArgs.builder()
.enabledLogCategories("string")
.version("string")
.build())
.build());
network_security_perimeter_logging_configuration_resource = azure_native.network.NetworkSecurityPerimeterLoggingConfiguration("networkSecurityPerimeterLoggingConfigurationResource",
network_security_perimeter_name="string",
resource_group_name="string",
logging_configuration_name="string",
properties={
"enabled_log_categories": ["string"],
"version": "string",
})
const networkSecurityPerimeterLoggingConfigurationResource = new azure_native.network.NetworkSecurityPerimeterLoggingConfiguration("networkSecurityPerimeterLoggingConfigurationResource", {
networkSecurityPerimeterName: "string",
resourceGroupName: "string",
loggingConfigurationName: "string",
properties: {
enabledLogCategories: ["string"],
version: "string",
},
});
type: azure-native:network:NetworkSecurityPerimeterLoggingConfiguration
properties:
loggingConfigurationName: string
networkSecurityPerimeterName: string
properties:
enabledLogCategories:
- string
version: string
resourceGroupName: string
NetworkSecurityPerimeterLoggingConfiguration 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 NetworkSecurityPerimeterLoggingConfiguration resource accepts the following input properties:
- Network
Security Perimeter Name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Logging
Configuration Name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- Properties
Pulumi.
Azure Native. Network. Inputs. Nsp Logging Configuration Properties - Properties of the NSP logging configuration.
- Network
Security Perimeter Name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Logging
Configuration Name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- Properties
Nsp
Logging Configuration Properties Args - Properties of the NSP logging configuration.
- network
Security Perimeter Name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- logging
Configuration Name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- properties
Nsp
Logging Configuration Properties - Properties of the NSP logging configuration.
- network
Security Perimeter Name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- logging
Configuration Name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- properties
Nsp
Logging Configuration Properties - Properties of the NSP logging configuration.
- network_
security_ perimeter_ name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- logging_
configuration_ name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- properties
Nsp
Logging Configuration Properties Args - Properties of the NSP logging configuration.
- network
Security Perimeter Name This property is required. Changes to this property will trigger replacement.
- The name of the network security perimeter.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- logging
Configuration Name Changes to this property will trigger replacement.
- The name of the NSP logging configuration. Accepts 'instance' as name.
- properties Property Map
- Properties of the NSP logging configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkSecurityPerimeterLoggingConfiguration resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Name string
- Resource name.
- Type string
- Resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Name string
- Resource name.
- Type string
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- name String
- Resource name.
- type String
- Resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- name string
- Resource name.
- type string
- Resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- name str
- Resource name.
- type str
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- name String
- Resource name.
- type String
- Resource type.
Supporting Types
NspLoggingConfigurationProperties, NspLoggingConfigurationPropertiesArgs
- Enabled
Log List<string>Categories - The log categories to enable in the NSP logging configuration.
- Version string
- The version of the NSP logging configuration.
- Enabled
Log []stringCategories - The log categories to enable in the NSP logging configuration.
- Version string
- The version of the NSP logging configuration.
- enabled
Log List<String>Categories - The log categories to enable in the NSP logging configuration.
- version String
- The version of the NSP logging configuration.
- enabled
Log string[]Categories - The log categories to enable in the NSP logging configuration.
- version string
- The version of the NSP logging configuration.
- enabled_
log_ Sequence[str]categories - The log categories to enable in the NSP logging configuration.
- version str
- The version of the NSP logging configuration.
- enabled
Log List<String>Categories - The log categories to enable in the NSP logging configuration.
- version String
- The version of the NSP logging configuration.
NspLoggingConfigurationPropertiesResponse, NspLoggingConfigurationPropertiesResponseArgs
- Enabled
Log List<string>Categories - The log categories to enable in the NSP logging configuration.
- Version string
- The version of the NSP logging configuration.
- Enabled
Log []stringCategories - The log categories to enable in the NSP logging configuration.
- Version string
- The version of the NSP logging configuration.
- enabled
Log List<String>Categories - The log categories to enable in the NSP logging configuration.
- version String
- The version of the NSP logging configuration.
- enabled
Log string[]Categories - The log categories to enable in the NSP logging configuration.
- version string
- The version of the NSP logging configuration.
- enabled_
log_ Sequence[str]categories - The log categories to enable in the NSP logging configuration.
- version str
- The version of the NSP logging configuration.
- enabled
Log List<String>Categories - The log categories to enable in the NSP logging configuration.
- version String
- The version of the NSP logging configuration.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:NetworkSecurityPerimeterLoggingConfiguration instance /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations/{loggingConfigurationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0