Share via


ConfluentExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>> ValidateOrganizationAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string organizationName, Azure.ResourceManager.Confluent.ConfluentOrganizationData data, System.Threading.CancellationToken cancellationToken = default);
static member ValidateOrganizationAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>>
<Extension()>
Public Function ValidateOrganizationAsync (resourceGroupResource As ResourceGroupResource, organizationName As String, data As ConfluentOrganizationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfluentOrganizationResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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.

resourceGroupResource, organizationName or data is null.

Applies to