Get-VBOAmazonS3Bucket
Short Description
Returns Amazon S3 buckets.
Syntax
This cmdlet provides the following parameter sets:
-
AmazonS3AwsParameterSetGet-VBOAmazonS3Bucket -AmazonS3ConnectionSettings <VBOAmazonS3ConnectionSettings> [-Name <String>]
[-RegionId <String>] [<CommonParameters>]
-
AmazonS3CompatibleParameterSetGet-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 |
|---|---|---|---|---|---|
|
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
To create this object, run the |
True |
Named |
False |
|
|
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
To create this object, run the |
True |
Named |
False |
|
|
Name |
Specifies a name of the Amazon S3 bucket. The cmdlet will return the bucket with this name. |
|
False |
Named |
False |
|
RegionId |
Specifies a region of Amazon S3 object storage repository. For example, us-east-1. For more information, see this Amazon article. |
|
False |
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 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
Get-VBOAmazonS3AccountReturns Amazon S3 storage account credentials.Get-VBOAmazonS3CompatibleAccountReturns S3 Compatible storage account credentials.New-VBOAmazonS3ConnectionSettingsDefines connection settings to Amazon S3 object storage repository.New-VBOAmazonS3CompatibleConnectionSettingsDefines connection settings to S3 Compatible object storage repository.