Register-OCIRegion
SYNOPSIS
Register a new region.
SYNTAX
SpecificRegion
Register-OCIRegion -RegionId <String> -Realm <Realm> [-RegionCode <String>] [<CommonParameters>]
EnableInstanceMetadataService
Register-OCIRegion [-EnableInstanceMetadataService] [<CommonParameters>]
DESCRIPTION
Registers a new region that is currently not supported by this version of PowerShell modules. If the Instance Metadata Service is enabled, the region to be registered is determined by the OCI instance's region.
PARAMETERS
-EnableInstanceMetadataService
Enabling the Instance Metadata Service allows region lookups through the OCI Instance's metadata.
Type: SwitchParameter
Parameter Sets: EnableInstanceMetadataService
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Realm
The Realm key that contains the region.
Type: Realm
Parameter Sets: SpecificRegion
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegionCode
The Region key representing the region.
Type: String
Parameter Sets: SpecificRegion
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegionId
Region Identifier of the new region.
Type: String
Parameter Sets: SpecificRegion
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OUTPUTS
- Oci.Common.Region