Partilhar via


ResourceGroupCompleterAttribute.GetResourceGroups Method

Definition

Overloads

GetResourceGroups()
GetResourceGroups(Int32)
GetResourceGroups(IList<String>, String)

GetResourceGroups()

public static string[] GetResourceGroups ();
static member GetResourceGroups : unit -> string[]
Public Shared Function GetResourceGroups () As String()

Returns

String[]

Applies to

GetResourceGroups(Int32)

public static string[] GetResourceGroups (int timeout);
static member GetResourceGroups : int -> string[]
Public Shared Function GetResourceGroups (timeout As Integer) As String()

Parameters

timeout
Int32

Returns

String[]

Applies to

GetResourceGroups(IList<String>, String)

public static string[] GetResourceGroups (System.Collections.Generic.IList<string> resourceGroupNames, string defaultResourceGroup);
static member GetResourceGroups : System.Collections.Generic.IList<string> * string -> string[]
Public Shared Function GetResourceGroups (resourceGroupNames As IList(Of String), defaultResourceGroup As String) As String()

Parameters

resourceGroupNames
IList<String>
defaultResourceGroup
String

Returns

String[]

Applies to