Share via


MockableConfluentResourceGroupResource.ValidateOrganizationAsync Method

Definition

Organization Validate proxy resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate
  • Operation Id: Validations_ValidateOrganization
  • Default Api Version: 2024-02-13
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>> ValidateOrganizationAsync (string organizationName, Azure.ResourceManager.Confluent.ConfluentOrganizationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateOrganizationAsync : string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>>
override this.ValidateOrganizationAsync : string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>>
Public Overridable Function ValidateOrganizationAsync (organizationName As String, data As ConfluentOrganizationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfluentOrganizationResource))

Parameters

organizationName
String

Organization resource name.

data
ConfluentOrganizationData

Organization resource model.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

organizationName is an empty string, and was expected to be non-empty.

organizationName or data is null.

Applies to