azure-native-v2.network.SecurityUserRuleCollection
Explore with Pulumi AI
Defines the security user rule collection. Azure REST API version: 2024-03-01.
Other available API versions: 2024-05-01.
Create SecurityUserRuleCollection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityUserRuleCollection(name: string, args: SecurityUserRuleCollectionArgs, opts?: CustomResourceOptions);
@overload
def SecurityUserRuleCollection(resource_name: str,
args: SecurityUserRuleCollectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityUserRuleCollection(resource_name: str,
opts: Optional[ResourceOptions] = None,
applies_to_groups: Optional[Sequence[SecurityUserGroupItemArgs]] = None,
configuration_name: Optional[str] = None,
network_manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
description: Optional[str] = None,
rule_collection_name: Optional[str] = None)
func NewSecurityUserRuleCollection(ctx *Context, name string, args SecurityUserRuleCollectionArgs, opts ...ResourceOption) (*SecurityUserRuleCollection, error)
public SecurityUserRuleCollection(string name, SecurityUserRuleCollectionArgs args, CustomResourceOptions? opts = null)
public SecurityUserRuleCollection(String name, SecurityUserRuleCollectionArgs args)
public SecurityUserRuleCollection(String name, SecurityUserRuleCollectionArgs args, CustomResourceOptions options)
type: azure-native:network:SecurityUserRuleCollection
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. SecurityUserRuleCollectionArgs - 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. SecurityUserRuleCollectionArgs - 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. SecurityUserRuleCollectionArgs - 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. SecurityUserRuleCollectionArgs - 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. SecurityUserRuleCollectionArgs - 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 securityUserRuleCollectionResource = new AzureNative.Network.SecurityUserRuleCollection("securityUserRuleCollectionResource", new()
{
AppliesToGroups = new[]
{
{
{ "networkGroupId", "string" },
},
},
ConfigurationName = "string",
NetworkManagerName = "string",
ResourceGroupName = "string",
Description = "string",
RuleCollectionName = "string",
});
example, err := network.NewSecurityUserRuleCollection(ctx, "securityUserRuleCollectionResource", &network.SecurityUserRuleCollectionArgs{
AppliesToGroups: []map[string]interface{}{
map[string]interface{}{
"networkGroupId": "string",
},
},
ConfigurationName: "string",
NetworkManagerName: "string",
ResourceGroupName: "string",
Description: "string",
RuleCollectionName: "string",
})
var securityUserRuleCollectionResource = new SecurityUserRuleCollection("securityUserRuleCollectionResource", SecurityUserRuleCollectionArgs.builder()
.appliesToGroups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.configurationName("string")
.networkManagerName("string")
.resourceGroupName("string")
.description("string")
.ruleCollectionName("string")
.build());
security_user_rule_collection_resource = azure_native.network.SecurityUserRuleCollection("securityUserRuleCollectionResource",
applies_to_groups=[{
networkGroupId: string,
}],
configuration_name=string,
network_manager_name=string,
resource_group_name=string,
description=string,
rule_collection_name=string)
const securityUserRuleCollectionResource = new azure_native.network.SecurityUserRuleCollection("securityUserRuleCollectionResource", {
appliesToGroups: [{
networkGroupId: "string",
}],
configurationName: "string",
networkManagerName: "string",
resourceGroupName: "string",
description: "string",
ruleCollectionName: "string",
});
type: azure-native:network:SecurityUserRuleCollection
properties:
appliesToGroups:
- networkGroupId: string
configurationName: string
description: string
networkManagerName: string
resourceGroupName: string
ruleCollectionName: string
SecurityUserRuleCollection 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 SecurityUserRuleCollection resource accepts the following input properties:
- Applies
To Groups This property is required. List<Pulumi.Azure Native. Network. Inputs. Security User Group Item> - Groups for configuration
- Configuration
Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- Network
Manager Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Description string
- A description of the security user rule collection.
- Rule
Collection Name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
- Applies
To Groups This property is required. []SecurityUser Group Item Args - Groups for configuration
- Configuration
Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- Network
Manager Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Description string
- A description of the security user rule collection.
- Rule
Collection Name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
- applies
To Groups This property is required. List<SecurityUser Group Item> - Groups for configuration
- configuration
Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- network
Manager Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- description String
- A description of the security user rule collection.
- rule
Collection Name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
- applies
To Groups This property is required. SecurityUser Group Item[] - Groups for configuration
- configuration
Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- network
Manager Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- description string
- A description of the security user rule collection.
- rule
Collection Name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
- applies_
to_ groups This property is required. Sequence[SecurityUser Group Item Args] - Groups for configuration
- configuration_
name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- network_
manager_ name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- description str
- A description of the security user rule collection.
- rule_
collection_ name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
- applies
To Groups This property is required. List<Property Map> - Groups for configuration
- configuration
Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager Security Configuration.
- network
Manager Name This property is required. Changes to this property will trigger replacement.
- The name of the network manager.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- description String
- A description of the security user rule collection.
- rule
Collection Name Changes to this property will trigger replacement.
- The name of the network manager security Configuration rule collection.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityUserRuleCollection 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.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the resource.
- Resource
Guid string - Unique identifier for this resource.
- System
Data Pulumi.Azure Native. Network. Outputs. System Data Response - The system metadata related to this 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.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the resource.
- Resource
Guid string - Unique identifier for this resource.
- System
Data SystemData Response - The system metadata related to this 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.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the resource.
- resource
Guid String - Unique identifier for this resource.
- system
Data SystemData Response - The system metadata related to this 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.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the resource.
- resource
Guid string - Unique identifier for this resource.
- system
Data SystemData Response - The system metadata related to this 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.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the resource.
- resource_
guid str - Unique identifier for this resource.
- system_
data SystemData Response - The system metadata related to this 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.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the resource.
- resource
Guid String - Unique identifier for this resource.
- system
Data Property Map - The system metadata related to this resource.
- type String
- Resource type.
Supporting Types
SecurityUserGroupItem, SecurityUserGroupItemArgs
- Network
Group Id This property is required. string - Network manager group Id.
- Network
Group Id This property is required. string - Network manager group Id.
- network
Group Id This property is required. String - Network manager group Id.
- network
Group Id This property is required. string - Network manager group Id.
- network_
group_ id This property is required. str - Network manager group Id.
- network
Group Id This property is required. String - Network manager group Id.
SecurityUserGroupItemResponse, SecurityUserGroupItemResponseArgs
- Network
Group Id This property is required. string - Network manager group Id.
- Network
Group Id This property is required. string - Network manager group Id.
- network
Group Id This property is required. String - Network manager group Id.
- network
Group Id This property is required. string - Network manager group Id.
- network_
group_ id This property is required. str - Network manager group Id.
- network
Group Id This property is required. String - Network manager group Id.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:SecurityUserRuleCollection myTestSecurityConfig /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0