SubscriptionsOperationsExtensions.ListLocations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all available geo-locations.
public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ResourceManager.Models.Location> ListLocations (this Microsoft.Azure.Management.ResourceManager.ISubscriptionsOperations operations, string subscriptionId, bool? includeExtendedLocations = default);
static member ListLocations : Microsoft.Azure.Management.ResourceManager.ISubscriptionsOperations * string * Nullable<bool> -> seq<Microsoft.Azure.Management.ResourceManager.Models.Location>
<Extension()>
Public Function ListLocations (operations As ISubscriptionsOperations, subscriptionId As String, Optional includeExtendedLocations As Nullable(Of Boolean) = Nothing) As IEnumerable(Of Location)
Parameters
- operations
- ISubscriptionsOperations
The operations group for this extension method.
- subscriptionId
- String
The ID of the target subscription.
Returns
Remarks
This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.