Condividi tramite


ServiceGroupsExtensions.GetServiceGroups(TenantResource) Method

Definition

Gets a collection of ServiceGroupResources in the TenantResource. <item>MockingTo 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 instance the method will execute against.

Returns

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

Exceptions

tenantResource is null.

Applies to