ServiceGroupCollection Class

Definition

A class representing a collection of ServiceGroupResource and their operations. Each ServiceGroupResource in the collection will belong to the same instance of TenantResource. To get a ServiceGroupCollection instance call the GetServiceGroups method from an instance of TenantResource.

public class ServiceGroupCollection : Azure.ResourceManager.ArmCollection
type ServiceGroupCollection = class
    inherit ArmCollection
Public Class ServiceGroupCollection
Inherits ArmCollection
Inheritance
ServiceGroupCollection

Constructors

Name Description
ServiceGroupCollection()

Initializes a new instance of ServiceGroupCollection for mocking.

Properties

Name Description
Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Name Description
CreateOrUpdate(WaitUntil, String, ServiceGroupData, CancellationToken)

Create or Update a serviceGroup

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_CreateOrUpdateServiceGroup.
  • Default Api Version. : 2024-02-01-preview.
CreateOrUpdateAsync(WaitUntil, String, ServiceGroupData, CancellationToken)

Create or Update a serviceGroup

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_CreateOrUpdateServiceGroup.
  • Default Api Version. : 2024-02-01-preview.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_Get.
  • Default Api Version. : 2024-02-01-preview.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_Get.
  • Default Api Version. : 2024-02-01-preview.
Get(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.
GetAsync(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.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_Get.
  • Default Api Version. : 2024-02-01-preview.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}.
  • Operation Id. : ServiceGroups_Get.
  • Default Api Version. : 2024-02-01-preview.
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to