Udostępnij za pośrednictwem


CosmosDBSqlUserDefinedFunctionCollection Class

Definition

A class representing a collection of CosmosDBSqlUserDefinedFunctionResource and their operations. Each CosmosDBSqlUserDefinedFunctionResource in the collection will belong to the same instance of CosmosDBSqlContainerResource. To get a CosmosDBSqlUserDefinedFunctionCollection instance call the GetCosmosDBSqlUserDefinedFunctions method from an instance of CosmosDBSqlContainerResource.

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

Constructors

CosmosDBSqlUserDefinedFunctionCollection()

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

Create or update an Azure Cosmos DB SQL userDefinedFunction

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_CreateUpdateSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
CreateOrUpdateAsync(WaitUntil, String, CosmosDBSqlUserDefinedFunctionCreateOrUpdateContent, CancellationToken)

Create or update an Azure Cosmos DB SQL userDefinedFunction

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_CreateUpdateSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
Get(String, CancellationToken)

Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
GetAll(CancellationToken)

Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions
  • Operation Id: SqlResources_ListSqlUserDefinedFunctions
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
GetAllAsync(CancellationToken)

Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions
  • Operation Id: SqlResources_ListSqlUserDefinedFunctions
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
GetAsync(String, CancellationToken)

Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}
  • Operation Id: SqlResources_GetSqlUserDefinedFunction
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlUserDefinedFunctionResource
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<CosmosDBSqlUserDefinedFunctionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CosmosDBSqlUserDefinedFunctionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to