Udostępnij za pośrednictwem


GraphResourceGetResultCollection Class

Definition

A class representing a collection of GraphResourceGetResultResource and their operations. Each GraphResourceGetResultResource in the collection will belong to the same instance of CosmosDBAccountResource. To get a GraphResourceGetResultCollection instance call the GetGraphResourceGetResults method from an instance of CosmosDBAccountResource.

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

Constructors

GraphResourceGetResultCollection()

Initializes a new instance of the GraphResourceGetResultCollection 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, GraphResourceGetResultCreateOrUpdateContent, CancellationToken)

Create or update an Azure Cosmos DB Graph.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_CreateUpdateGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
CreateOrUpdateAsync(WaitUntil, String, GraphResourceGetResultCreateOrUpdateContent, CancellationToken)

Create or update an Azure Cosmos DB Graph.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_CreateUpdateGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
Get(String, CancellationToken)

Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
GetAll(CancellationToken)

Lists the graphs under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs
  • Operation Id: GraphResources_ListGraphs
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
GetAllAsync(CancellationToken)

Lists the graphs under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs
  • Operation Id: GraphResources_ListGraphs
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
GetAsync(String, CancellationToken)

Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/graphs/{graphName}
  • Operation Id: GraphResources_GetGraph
  • Default Api Version: 2024-09-01-preview
  • Resource: GraphResourceGetResultResource
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<GraphResourceGetResultResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GraphResourceGetResultResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to