New-​Azure​RM​Managed​Location

The cmdlet New-AzureRmManagedLocation creates a new location managed by Azurestack Resource Manager. The resource providers can be deployed in the new location

Syntax

New-AzureRMManagedLocation
   -DisplayName <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Latitude <Double>
   -Longitude <Double>
   -Name <String>
   [-PipelineVariable <String>]
   [<CommonParameters>]

Examples

Example 1:

New-AzureRMManagedLocation -Name "LocationName" -DisplayName "LocationName" -Latitude 80.5 -Longitude -45.5

Description

-----------

The example creates a new location

Required Parameters

-DisplayName

@{Text=}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Latitude

Specifies the latitude of the location in decimal format

Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Longitude

Specifies the Longitude of the location in decimal format

Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the location

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-InformationAction

Not SpecifiedThe following values are permitted for this object type.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Not Specified

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Not Specified

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Models.Location