azure-native.network.ConfigurationPolicyGroup
Explore with Pulumi AI
VpnServerConfigurationPolicyGroup Resource.
Uses Azure REST API version 2023-02-01. In version 1.x of the Azure Native provider, it used API version 2022-01-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Create ConfigurationPolicyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConfigurationPolicyGroup(name: string, args: ConfigurationPolicyGroupArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationPolicyGroup(resource_name: str,
args: ConfigurationPolicyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConfigurationPolicyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
vpn_server_configuration_name: Optional[str] = None,
configuration_policy_group_name: Optional[str] = None,
id: Optional[str] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
policy_members: Optional[Sequence[VpnServerConfigurationPolicyGroupMemberArgs]] = None,
priority: Optional[int] = None)
func NewConfigurationPolicyGroup(ctx *Context, name string, args ConfigurationPolicyGroupArgs, opts ...ResourceOption) (*ConfigurationPolicyGroup, error)
public ConfigurationPolicyGroup(string name, ConfigurationPolicyGroupArgs args, CustomResourceOptions? opts = null)
public ConfigurationPolicyGroup(String name, ConfigurationPolicyGroupArgs args)
public ConfigurationPolicyGroup(String name, ConfigurationPolicyGroupArgs args, CustomResourceOptions options)
type: azure-native:network:ConfigurationPolicyGroup
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. ConfigurationPolicyGroupArgs - 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. ConfigurationPolicyGroupArgs - 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. ConfigurationPolicyGroupArgs - 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. ConfigurationPolicyGroupArgs - 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. ConfigurationPolicyGroupArgs - 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 configurationPolicyGroupResource = new AzureNative.Network.ConfigurationPolicyGroup("configurationPolicyGroupResource", new()
{
ResourceGroupName = "string",
VpnServerConfigurationName = "string",
ConfigurationPolicyGroupName = "string",
Id = "string",
IsDefault = false,
Name = "string",
PolicyMembers = new[]
{
new AzureNative.Network.Inputs.VpnServerConfigurationPolicyGroupMemberArgs
{
AttributeType = "string",
AttributeValue = "string",
Name = "string",
},
},
Priority = 0,
});
example, err := network.NewConfigurationPolicyGroup(ctx, "configurationPolicyGroupResource", &network.ConfigurationPolicyGroupArgs{
ResourceGroupName: pulumi.String("string"),
VpnServerConfigurationName: pulumi.String("string"),
ConfigurationPolicyGroupName: pulumi.String("string"),
Id: pulumi.String("string"),
IsDefault: pulumi.Bool(false),
Name: pulumi.String("string"),
PolicyMembers: network.VpnServerConfigurationPolicyGroupMemberArray{
&network.VpnServerConfigurationPolicyGroupMemberArgs{
AttributeType: pulumi.String("string"),
AttributeValue: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Priority: pulumi.Int(0),
})
var configurationPolicyGroupResource = new ConfigurationPolicyGroup("configurationPolicyGroupResource", ConfigurationPolicyGroupArgs.builder()
.resourceGroupName("string")
.vpnServerConfigurationName("string")
.configurationPolicyGroupName("string")
.id("string")
.isDefault(false)
.name("string")
.policyMembers(VpnServerConfigurationPolicyGroupMemberArgs.builder()
.attributeType("string")
.attributeValue("string")
.name("string")
.build())
.priority(0)
.build());
configuration_policy_group_resource = azure_native.network.ConfigurationPolicyGroup("configurationPolicyGroupResource",
resource_group_name="string",
vpn_server_configuration_name="string",
configuration_policy_group_name="string",
id="string",
is_default=False,
name="string",
policy_members=[{
"attribute_type": "string",
"attribute_value": "string",
"name": "string",
}],
priority=0)
const configurationPolicyGroupResource = new azure_native.network.ConfigurationPolicyGroup("configurationPolicyGroupResource", {
resourceGroupName: "string",
vpnServerConfigurationName: "string",
configurationPolicyGroupName: "string",
id: "string",
isDefault: false,
name: "string",
policyMembers: [{
attributeType: "string",
attributeValue: "string",
name: "string",
}],
priority: 0,
});
type: azure-native:network:ConfigurationPolicyGroup
properties:
configurationPolicyGroupName: string
id: string
isDefault: false
name: string
policyMembers:
- attributeType: string
attributeValue: string
name: string
priority: 0
resourceGroupName: string
vpnServerConfigurationName: string
ConfigurationPolicyGroup 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 ConfigurationPolicyGroup resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- Vpn
Server Configuration Name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- Configuration
Policy Group Name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- Id string
- Resource ID.
- Is
Default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Policy
Members List<Pulumi.Azure Native. Network. Inputs. Vpn Server Configuration Policy Group Member> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- Priority int
- Priority for VpnServerConfigurationPolicyGroup.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- Vpn
Server Configuration Name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- Configuration
Policy Group Name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- Id string
- Resource ID.
- Is
Default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Policy
Members []VpnServer Configuration Policy Group Member Args - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- Priority int
- Priority for VpnServerConfigurationPolicyGroup.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- vpn
Server Configuration Name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- configuration
Policy Group Name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- id String
- Resource ID.
- is
Default Boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members List<VpnServer Configuration Policy Group Member> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority Integer
- Priority for VpnServerConfigurationPolicyGroup.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- vpn
Server Configuration Name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- configuration
Policy Group Name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- id string
- Resource ID.
- is
Default boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members VpnServer Configuration Policy Group Member[] - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority number
- Priority for VpnServerConfigurationPolicyGroup.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- vpn_
server_ configuration_ name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- configuration_
policy_ group_ name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- id str
- Resource ID.
- is_
default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy_
members Sequence[VpnServer Configuration Policy Group Member Args] - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority int
- Priority for VpnServerConfigurationPolicyGroup.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name of the ConfigurationPolicyGroup.
- vpn
Server Configuration Name This property is required. Changes to this property will trigger replacement.
- The name of the VpnServerConfiguration.
- configuration
Policy Group Name Changes to this property will trigger replacement.
- The name of the ConfigurationPolicyGroup.
- id String
- Resource ID.
- is
Default Boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members List<Property Map> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority Number
- Priority for VpnServerConfigurationPolicyGroup.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigurationPolicyGroup 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.
- P2SConnection
Configurations List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - List of references to P2SConnectionConfigurations.
- Provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup 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.
- P2SConnection
Configurations []SubResource Response - List of references to P2SConnectionConfigurations.
- Provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup 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.
- p2SConnection
Configurations List<SubResource Response> - List of references to P2SConnectionConfigurations.
- provisioning
State String - The provisioning state of the VpnServerConfigurationPolicyGroup 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.
- p2SConnection
Configurations SubResource Response[] - List of references to P2SConnectionConfigurations.
- provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup 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.
- p2_
s_ Sequence[Subconnection_ configurations Resource Response] - List of references to P2SConnectionConfigurations.
- provisioning_
state str - The provisioning state of the VpnServerConfigurationPolicyGroup 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.
- p2SConnection
Configurations List<Property Map> - List of references to P2SConnectionConfigurations.
- provisioning
State String - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- type String
- Resource type.
Supporting Types
SubResourceResponse, SubResourceResponseArgs
- Id
This property is required. string - Resource ID.
- Id
This property is required. string - Resource ID.
- id
This property is required. String - Resource ID.
- id
This property is required. string - Resource ID.
- id
This property is required. str - Resource ID.
- id
This property is required. String - Resource ID.
VpnPolicyMemberAttributeType, VpnPolicyMemberAttributeTypeArgs
- Certificate
Group Id - CertificateGroupId
- AADGroup
Id - AADGroupId
- Radius
Azure Group Id - RadiusAzureGroupId
- Vpn
Policy Member Attribute Type Certificate Group Id - CertificateGroupId
- Vpn
Policy Member Attribute Type AADGroup Id - AADGroupId
- Vpn
Policy Member Attribute Type Radius Azure Group Id - RadiusAzureGroupId
- Certificate
Group Id - CertificateGroupId
- AADGroup
Id - AADGroupId
- Radius
Azure Group Id - RadiusAzureGroupId
- Certificate
Group Id - CertificateGroupId
- AADGroup
Id - AADGroupId
- Radius
Azure Group Id - RadiusAzureGroupId
- CERTIFICATE_GROUP_ID
- CertificateGroupId
- AAD_GROUP_ID
- AADGroupId
- RADIUS_AZURE_GROUP_ID
- RadiusAzureGroupId
- "Certificate
Group Id" - CertificateGroupId
- "AADGroup
Id" - AADGroupId
- "Radius
Azure Group Id" - RadiusAzureGroupId
VpnServerConfigurationPolicyGroupMember, VpnServerConfigurationPolicyGroupMemberArgs
- Attribute
Type string | Pulumi.Azure Native. Network. Vpn Policy Member Attribute Type - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- Attribute
Type string | VpnPolicy Member Attribute Type - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String | VpnPolicy Member Attribute Type - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type string | VpnPolicy Member Attribute Type - The Vpn Policy member attribute type.
- attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute_
type str | VpnPolicy Member Attribute Type - The Vpn Policy member attribute type.
- attribute_
value str - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name str
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String | "CertificateGroup Id" | "AADGroup Id" | "Radius Azure Group Id" - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
VpnServerConfigurationPolicyGroupMemberResponse, VpnServerConfigurationPolicyGroupMemberResponseArgs
- Attribute
Type string - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- Attribute
Type string - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type string - The Vpn Policy member attribute type.
- attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute_
type str - The Vpn Policy member attribute type.
- attribute_
value str - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name str
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:ConfigurationPolicyGroup policyGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0