DataProductCollection.CreateOrUpdate Method

Definition

Create data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Create
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkAnalytics.DataProductResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string dataProductName, Azure.ResourceManager.NetworkAnalytics.DataProductData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.NetworkAnalytics.DataProductData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkAnalytics.DataProductResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.NetworkAnalytics.DataProductData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkAnalytics.DataProductResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, dataProductName As String, data As DataProductData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DataProductResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

dataProductName
String

The data product resource name.

data
DataProductData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataProductName or data is null.

Applies to