< Back
New-AzureRmApplicationSecurityGroup
Post
NAME New-AzureRmApplicationSecurityGroup
SYNOPSIS
Creates an application security group.
SYNTAX
New-AzureRmApplicationSecurityGroup [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Location <String> -Name <String>
-ResourceGroupName <String> [-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmApplicationSecurityGroup cmdlet creates an application security group.
PARAMETERS
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Do not ask for confirmation if you want to overwrite a resource.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
The location.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
The name of the application security group.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
The resource group name of the application security group.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Tag <Hashtable>
A hashtable which represents resource tags.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Collections.Hashtable
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationSecurityGroup
NOTES
Example 1
PS C:\\> New-AzureRmApplicationSecurityGroup -ResourceGroupName "MyResourceGroup" -Name "MyApplicationSecurityGroup" -Location "West US"
This example creates an application security group with no associations. Once it is created, IP configurations in the network interface can be
included in the group. Security rules may also refer to the group as their sources or destinations.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uritygroup
Get-AzureRmApplicationSecurityGroup
Remove-AzureRmApplicationSecurityGroup
New-AzureRmNetworkSecurityRuleConfig
Add-AzureRmNetworkSecurityRuleConfig
Set-AzureRmNetworkSecurityRuleConfig
New-AzureRmNetworkInterfaceIpConfig
Add-AzureRmNetworkInterfaceIpConfig
Set-AzureRmNetworkInterfaceIpConfig
SYNOPSIS
Creates an application security group.
SYNTAX
New-AzureRmApplicationSecurityGroup [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Location <String> -Name <String>
-ResourceGroupName <String> [-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmApplicationSecurityGroup cmdlet creates an application security group.
PARAMETERS
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Do not ask for confirmation if you want to overwrite a resource.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
The location.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
The name of the application security group.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
The resource group name of the application security group.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Tag <Hashtable>
A hashtable which represents resource tags.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Collections.Hashtable
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationSecurityGroup
NOTES
Example 1
PS C:\\> New-AzureRmApplicationSecurityGroup -ResourceGroupName "MyResourceGroup" -Name "MyApplicationSecurityGroup" -Location "West US"
This example creates an application security group with no associations. Once it is created, IP configurations in the network interface can be
included in the group. Security rules may also refer to the group as their sources or destinations.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uritygroup
Get-AzureRmApplicationSecurityGroup
Remove-AzureRmApplicationSecurityGroup
New-AzureRmNetworkSecurityRuleConfig
Add-AzureRmNetworkSecurityRuleConfig
Set-AzureRmNetworkSecurityRuleConfig
New-AzureRmNetworkInterfaceIpConfig
Add-AzureRmNetworkInterfaceIpConfig
Set-AzureRmNetworkInterfaceIpConfig