Condividi tramite


ServiceGroupsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ServiceGroups.

public static class ServiceGroupsExtensions
type ServiceGroupsExtensions = class
Public Module ServiceGroupsExtensions
Inheritance
ServiceGroupsExtensions

Methods

Name Description
GetServiceGroup(TenantResource, String, CancellationToken)

Get the details of the serviceGroup

  • Request Path: /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
  • Operation Id: ServiceGroups_Get
  • Default Api Version: 2024-02-01-preview
  • Resource: ServiceGroupResource
<item>MockingTo mock this method, please mock GetServiceGroup(String, CancellationToken) instead.</item>
GetServiceGroupAsync(TenantResource, String, CancellationToken)

Get the details of the serviceGroup

  • Request Path: /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
  • Operation Id: ServiceGroups_Get
  • Default Api Version: 2024-02-01-preview
  • Resource: ServiceGroupResource
<item>MockingTo mock this method, please mock GetServiceGroupAsync(String, CancellationToken) instead.</item>
GetServiceGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a ServiceGroupResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetServiceGroupResource(ResourceIdentifier) instead.</item>

GetServiceGroups(TenantResource)

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

Applies to