Get-VBOAmazonS3Bucket
Short Description
Returns Amazon S3 buckets.
Syntax
This cmdlet provides parameter sets that allow you to:
- Get Amazon S3 buckets.
Get-VBOAmazonS3Bucket -AmazonS3ConnectionSettings <VBOAmazonS3ConnectionSettings> [-Name <String>] [-RegionId <String>] [<CommonParameters>] |
- Get S3 Compatible buckets.
Get-VBOAmazonS3Bucket -AmazonS3CompatibleConnectionSettings <VBOAmazonS3CompatibleConnectionSettings> [-Name <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the VBOAmazonS3Bucket object that contains an array of Amazon buckets for the following Amazon services:
- Amazon S3
- S3 Compatible
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
AmazonS3ConnectionSettings | Specifies an active session with Amazon S3 object storage repository. The cmdlet will return an array of Amazon S3 buckets for this Amazon S3 object storage repository. | Accepts the VBOAmazonS3ConnectionSettings object. To create this object, run the New-VBOAmazonS3ConnectionSettings cmdlet. | True | Named | False |
Name | Specifies a name of the Amazon S3 bucket. The cmdlet will return the bucket with this name. | String | False | Named | False |
RegionId | Specifies a region of Amazon S3 object storage repository. You can select the following region IDs:
For more information, see this Amazon article. | String | False | Named | False |
AmazonS3CompatibleConnectionSettings | Specifies an active session with S3 Compatible object storage repository. The cmdlet will return an array of Amazon S3 buckets for this S3 Compatible object storage repository. | Accepts the VBOAmazonS3CompatibleConnectionSettings object. To create this object, run the New-VBOAmazonS3CompatibleConnectionSettings cmdlet. | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOAmazonS3Bucket object that contains an array of Amazon S3 buckets.
Examples
Example 1. Getting Amazon S3 Buckets
This example shows how to get Amazon S3 buckets.
Perform the following steps:
|
Example 2. Getting S3 Compatible Buckets
This example shows how to get S3 Compatible buckets.
Perform the following steps:
|
Related Commands