Condividi tramite


CognitiveServicesEncryptionScopeCollection Class

Definition

A class representing a collection of CognitiveServicesEncryptionScopeResource and their operations. Each CognitiveServicesEncryptionScopeResource in the collection will belong to the same instance of CognitiveServicesAccountResource. To get a CognitiveServicesEncryptionScopeCollection instance call the GetCognitiveServicesEncryptionScopes method from an instance of CognitiveServicesAccountResource.

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

Constructors

CognitiveServicesEncryptionScopeCollection()

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

Update the state of specified encryptionScope associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_CreateOrUpdate
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
CreateOrUpdateAsync(WaitUntil, String, CognitiveServicesEncryptionScopeData, CancellationToken)

Update the state of specified encryptionScope associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_CreateOrUpdate
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
Get(String, CancellationToken)

Gets the specified EncryptionScope associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
GetAll(CancellationToken)

Gets the content filters associated with the Azure OpenAI account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes
  • Operation Id: EncryptionScopes_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
GetAllAsync(CancellationToken)

Gets the content filters associated with the Azure OpenAI account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes
  • Operation Id: EncryptionScopes_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
GetAsync(String, CancellationToken)

Gets the specified EncryptionScope associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/encryptionScopes/{encryptionScopeName}
  • Operation Id: EncryptionScopes_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesEncryptionScopeResource
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<CognitiveServicesEncryptionScopeResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CognitiveServicesEncryptionScopeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to