New-VBROracleCloudTag
Short Description
Creates tags for Oracle Cloud Infrastructure resources.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBROracleCloudTag -Key <String> -Value <String> [<CommonParameters>] |
Detailed Description
This cmdlet creates a free-form tag that consists of a key and a value.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Key |
Specifies the key of the tag. |
|
True |
Named |
False |
|
Value |
Specifies the value of the tag. The value cannot be an empty string. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBROracleCloudTag object that contains the tag key and value.
Examples
Creating Oracle Cloud Infrastructure Tag
This example shows how to create a tag.
|
$tag = New-VBROracleCloudTag -Key "location" -Value "west" |
Perform the following steps:
- Run the
New-VBROracleCloudTagcmdlet. Specify theKeyandValueparameter values. - Save the result to the
$tagvariable to use it when you run theStart-VBRVMRestoreToOracleCloudStarts a restore session to Oracle Cloud Infrastructure. cmdlet.