ServiceGroupsExtensions.GetServiceGroups(TenantResource) Method

Definition

Gets a collection of ServiceGroups in the TenantResource<item> Mocking. To mock this method, please mock GetServiceGroups() instead. </item>

public static Azure.ResourceManager.ServiceGroups.ServiceGroupCollection GetServiceGroups(this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetServiceGroups : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.ServiceGroups.ServiceGroupCollection
<Extension()>
Public Function GetServiceGroups (tenantResource As TenantResource) As ServiceGroupCollection

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

Returns

An object representing collection of ServiceGroups and their operations over a ServiceGroupResource.

Exceptions

tenantResource is null.

Applies to