Set-VBROracleCloudApplianceTemplate
Short Description
Modifies a helper appliance template.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBROracleCloudApplianceTemplate -Template <VBROracleCloudApplianceTemplate>
[-Subnet <VBROracleCloudSubnet>] [-RedirectorPort <Int32>]
[-NetworkSecurityGroup <VBROracleCloudNetworkSecurityGroup>] [-NoNetworkSecurityGroup]
[-CreateNetworkSecurityGroup] [<CommonParameters>] |
Detailed Description
This cmdlet sets the helper appliance template options.
You can modify only a template that is ready to use. If Veeam Backup & Replication is deploying or updating the template, or if the template is in a failed state, the cmdlet returns an error. To check the template state, run the Get-VBROracleCloudApplianceTemplateReturns helper appliance templates in Oracle Cloud Infrastructure. cmdlet.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Veeam Backup & Replication applies the changes to the template but does not rebuild the template image. To rebuild the template, remove it with the Remove-VBROracleCloudApplianceTemplateRemoves helper appliance templates from Oracle Cloud Infrastructure. cmdlet, and then deploy a new template with the Deploy-VBROracleCloudApplianceTemplateDeploys helper appliance templates to Oracle Cloud Infrastructure. cmdlet.
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
CreateNetworkSecurityGroup
|
Defines that Veeam Backup & Replication will create a new network security group for the helper appliance template.
You cannot use this parameter together with the NetworkSecurityGroup or NoNetworkSecurityGroup parameter.
|
SwitchParameter
|
False
|
Named
|
False
|
|
NetworkSecurityGroup
|
Specifies the network security group that Veeam Backup & Replication will use for the helper appliance template. The network security group must belong to the virtual cloud network (VCN) of the subnet that the template uses.
You cannot use this parameter together with the NoNetworkSecurityGroup or CreateNetworkSecurityGroup parameter.
Accepts the VBROracleCloudNetworkSecurityGroup object. To get this object, run the Get-VBROracleCloudNetworkSecurityGroupReturns network security groups in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudNetworkSecurityGroup
|
False
|
Named
|
False
|
|
NoNetworkSecurityGroup
|
Defines that Veeam Backup & Replication will not use a network security group for the helper appliance template.
You cannot use this parameter together with the NetworkSecurityGroup or CreateNetworkSecurityGroup parameter.
|
SwitchParameter
|
False
|
Named
|
False
|
|
RedirectorPort
|
Specifies the port that the backup server uses to communicate with the helper appliance. Make sure that the network allows inbound traffic on this port.
|
Int32
|
False
|
Named
|
False
|
|
Subnet
|
Specifies the subnet that the helper appliance template uses. The subnet must belong to the availability domain of the template.
Accepts the VBROracleCloudSubnet object. To get this object, run the Get-VBROracleCloudSubnetReturns subnets in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudSubnet
|
False
|
Named
|
True (ByPropertyName)
|
|
Template
|
Specifies the helper appliance template that you want to modify.
Accepts the VBROracleCloudApplianceTemplate object. To get this object, run the Get-VBROracleCloudApplianceTemplateReturns helper appliance templates in Oracle Cloud Infrastructure. cmdlet.
|
VBROracleCloudApplianceTemplate
|
True
|
Named
|
True (ByPropertyName, ByValue)
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBROracleCloudApplianceTemplate object that contains the updated helper appliance template settings.
Examples
Example 1. Changing Subnet of Helper Appliance Template
|
This example shows how to change the subnet that Veeam Backup & Replication uses to connect the helper appliance to the network.
|
$account = Get-VBROracleCloudAccount -Name "My OCI Account"
$region = Get-VBROracleCloudRegion -Account $account -Name "eu-frankfurt-1"
$template = Get-VBROracleCloudApplianceTemplate -Region $region
$compartment = Get-VBROracleCloudCompartment -Account $account -Name "Restore"
$vcn = Get-VBROracleCloudVcn -Region $region -Compartment $compartment -Name "Restore VCN"
$subnet = Get-VBROracleCloudSubnet -Compartment $compartment -Vcn $vcn -Name "Restore Subnet"
Set-VBROracleCloudApplianceTemplate -Template $template -Subnet $subnet |
Perform the following steps:
- Run the
Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the
Get-VBROracleCloudRegionReturns Oracle Cloud Infrastructure regions that an account is subscribed to. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $region variable.
- Run the
Get-VBROracleCloudApplianceTemplateReturns helper appliance templates in Oracle Cloud Infrastructure. cmdlet. Set the $region variable as the Region parameter value. Save the result to the $template variable.
- Run the
Get-VBROracleCloudCompartmentReturns compartments in Oracle Cloud Infrastructure. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $compartment variable.
- Run the
Get-VBROracleCloudVcnReturns virtual cloud networks in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$region variable as the Region parameter value.
- Set the
$compartment variable as the Compartment parameter value.
- Specify the
Name parameter value.
Save the result to the $vcn variable.
- Run the
Get-VBROracleCloudSubnetReturns subnets in Oracle Cloud Infrastructure. cmdlet. Specify the following settings:
- Set the
$compartment variable as the Compartment parameter value.
- Set the
$vcn variable as the Vcn parameter value.
- Specify the
Name parameter value.
Save the result to the $subnet variable.
- Run the
Set-VBROracleCloudApplianceTemplate cmdlet. Set the $template variable as the Template parameter value. Set the $subnet variable as the Subnet parameter value.
|
Example 2. Changing Redirector Port and Network Security Group of Helper Appliance Template
|
This example shows how to change the redirector port of a helper appliance template and make Veeam Backup & Replication create a new network security group for the helper appliance.
|
$account = Get-VBROracleCloudAccount -Name "My OCI Account"
$region = Get-VBROracleCloudRegion -Account $account -Name "eu-frankfurt-1"
$template = Get-VBROracleCloudApplianceTemplate -Region $region
Set-VBROracleCloudApplianceTemplate -Template $template -RedirectorPort 4443 -CreateNetworkSecurityGroup |
Perform the following steps:
- Run the
Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the
Get-VBROracleCloudRegionReturns Oracle Cloud Infrastructure regions that an account is subscribed to. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save the result to the $region variable.
- Run the
Get-VBROracleCloudApplianceTemplateReturns helper appliance templates in Oracle Cloud Infrastructure. cmdlet. Set the $region variable as the Region parameter value. Save the result to the $template variable.
- Run the
Set-VBROracleCloudApplianceTemplate cmdlet. Specify the following settings:
- Set the
$template variable as the Template parameter value.
- Specify the
RedirectorPort parameter value.
- Provide the
CreateNetworkSecurityGroup parameter.
|