Share via


PsApiManagement.AddRegion Method

Definition

Overloads

AddRegion(String, PsApiManagementSku, Int32, PsApiManagementVirtualNetwork)
AddRegion(String, String, Int32, PsApiManagementVirtualNetwork, String[], Nullable<Boolean>, String)

AddRegion(String, PsApiManagementSku, Int32, PsApiManagementVirtualNetwork)

public Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion AddRegion (string location, Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku sku = Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku.Developer, int capacity = 1, Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementVirtualNetwork virtualNetwork = default);
member this.AddRegion : string * Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku * int * Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementVirtualNetwork -> Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion
Public Function AddRegion (location As String, Optional sku As PsApiManagementSku = Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSku.Developer, Optional capacity As Integer = 1, Optional virtualNetwork As PsApiManagementVirtualNetwork = Nothing) As PsApiManagementRegion

Parameters

location
String
capacity
Int32

Returns

Applies to

AddRegion(String, String, Int32, PsApiManagementVirtualNetwork, String[], Nullable<Boolean>, String)

public Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion AddRegion (string location, string sku = "Developer", int capacity = 1, Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementVirtualNetwork virtualNetwork = default, string[] zone = default, bool? disableGateway = default, string publicIpAddressId = default);
member this.AddRegion : string * string * int * Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementVirtualNetwork * string[] * Nullable<bool> * string -> Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion
Public Function AddRegion (location As String, Optional sku As String = "Developer", Optional capacity As Integer = 1, Optional virtualNetwork As PsApiManagementVirtualNetwork = Nothing, Optional zone As String() = Nothing, Optional disableGateway As Nullable(Of Boolean) = Nothing, Optional publicIpAddressId As String = Nothing) As PsApiManagementRegion

Parameters

location
String
sku
String
capacity
Int32
zone
String[]
disableGateway
Nullable<Boolean>
publicIpAddressId
String

Returns

Applies to