Share via


GraphServicesAccountResourceCollection Class

Definition

A class representing a collection of GraphServicesAccountResource and their operations. Each GraphServicesAccountResource in the collection will belong to the same instance of ResourceGroupResource. To get a GraphServicesAccountResourceCollection instance call the GetGraphServicesAccountResources method from an instance of ResourceGroupResource.

public class GraphServicesAccountResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.GraphServices.GraphServicesAccountResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.GraphServices.GraphServicesAccountResource>
type GraphServicesAccountResourceCollection = class
    inherit ArmCollection
    interface seq<GraphServicesAccountResource>
    interface IEnumerable
    interface IAsyncEnumerable<GraphServicesAccountResource>
Public Class GraphServicesAccountResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of GraphServicesAccountResource), IEnumerable(Of GraphServicesAccountResource)
Inheritance
GraphServicesAccountResourceCollection
Implements

Constructors

GraphServicesAccountResourceCollection()

Initializes a new instance of the GraphServicesAccountResourceCollection class for mocking.

Properties

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

CreateOrUpdate(WaitUntil, String, GraphServicesAccountResourceData, CancellationToken)

Create or update account resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_CreateAndUpdate
CreateOrUpdateAsync(WaitUntil, String, GraphServicesAccountResourceData, CancellationToken)

Create or update account resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_CreateAndUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
Get(String, CancellationToken)

Returns account resource for a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
GetAll(CancellationToken)

Returns list of accounts apps.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts
  • Operation Id: Accounts_ListByResourceGroup
GetAllAsync(CancellationToken)

Returns list of accounts apps.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts
  • Operation Id: Accounts_ListByResourceGroup
GetAsync(String, CancellationToken)

Returns account resource for a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GraphServices/accounts/{resourceName}
  • Operation Id: Accounts_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<GraphServicesAccountResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GraphServicesAccountResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to