Get-VBOAmazonSecurityGroup
Short Description
Returns a security group that will be associated with the Amazon archiver appliance.
Syntax
|
Get-VBOAmazonSecurityGroup -VPC <VBOAmazonVpc> [-Name <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the VBOAmazonSecurityGroup object.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies a name of the security group. The cmdlet will return the security group with this name. |
|
False |
Named |
False |
|
VPC |
Specifies the Amazon VPC.
Accepts the
To get this object, run the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOAmazonSecurityGroup object that will be associated with the Amazon archiver appliance.
Examples
Getting Security Group
This example shows how to get the security group that will be associated with the Amazon archiver appliance.
|
$S3account = Get-VBOAmazonS3Account -AccessKey "?Iqws8NewidZydk" $S3connection = New-VBOAmazonS3ConnectionSettings -Account $S3account -RegionType Global $VPC = Get-VBOAmazonVPC -AmazonS3ConnectionSettings $S3connection -RegionId eu-central-1 -Name "VPCName" Get-VBOAmazonSecurityGroup -VPC $VPC -Name "SecurityGroupName" |
Perform the following steps:
- Run the
Get-VBOAmazonS3AccountReturns Amazon S3 storage account credentials. cmdlet. Specify theAccessKeyparameter value. Save the result to the$S3accountvariable. - Run the
New-VBOAmazonS3ConnectionSettingsDefines connection settings to Amazon S3 object storage repository. cmdlet. Set the$S3accountvariable as theAccountparameter value. Specify theRegionTypeparameter value. Save the result to the$S3connectionvariable. - Run the
Get-VBOAmazonVPCReturns the Amazon Virtual Private Cloud (Amazon VPC). cmdlet. Set the$S3connectionvariable as theAmazonS3ConnectionSettingsparameter value. Specify theRegionIdparameter value. Specify theNameparameter value. Save the result to the$VPCvariable. - Run the
Get-VBOAmazonSecurityGroupcmdlet. Set the$VPCvariable as theVPCparameter value. Specify theNameparameter value.
Related Commands
Get-VBOAmazonVPCReturns the Amazon Virtual Private Cloud (Amazon VPC).Get-VBOAmazonS3AccountReturns Amazon S3 storage account credentials.New-VBOAmazonS3ConnectionSettingsDefines connection settings to Amazon S3 object storage repository.