Get-VBRAzureNetworkSecurityGroup
Short Description
Returns Microsoft Azure security groups.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Get-VBRAzureNetworkSecurityGroup -Subscription <VBRAzureSubscription> [-Location <VBRAzureLocation>] [<CommonParameters>]
-
IdGet-VBRAzureNetworkSecurityGroup -Subscription <VBRAzureSubscription> [-Id <String>]
[-Location <VBRAzureLocation>] [<CommonParameters>]
-
NameGet-VBRAzureNetworkSecurityGroup -Subscription <VBRAzureSubscription> [-Name <String[]>]
[-Location <VBRAzureLocation>] [<CommonParameters>]
Detailed Description
This cmdlet returns Microsoft Azure security groups.
Important |
|
This cmdlet does not support Microsoft Azure accounts with the Azure Service Manager type of a subscription (ASM, also known as a "classic" type subscription). |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies Microsoft Azure security groups ID. The cmdlet will return security groups with the specified ID. |
|
False |
Named |
False |
|
Location |
Specifies a geographic location of the network security group.
Accepts the |
False |
Named |
False |
|
|
Name |
Specifies an array of Microsoft Azure security groups names. The cmdlet will return security groups with the specified names. |
|
False |
Named |
False |
|
Subscription |
Specifies subscriptions associated with a Microsoft Azure account.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting all Microsoft Azure Security Groups
|
This example shows how to get all security groups that are available in Microsoft Azure.
Perform the following steps:
|
Example 2. Getting Microsoft Azure Security Groups by ID
|
This example shows how to get the
Perform the following steps:
|
Example 3. Getting Microsoft Azure Security Groups by Name
|
This example shows how to get the
Perform the following steps:
|
Related Commands
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication.Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account.