ResourcesOperationsExtensions.CreateOrUpdateAsync(IResourcesOperations, String, String, String, String, String, String, GenericResourceInner, CancellationToken) Method

Definition

Create a resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner parameters, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations * string * string * string * string * string * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>

Parameters

operations
IResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceProviderNamespace
String

Resource identity.

parentResourcePath
String

Resource identity.

resourceType
String

Resource identity.

resourceName
String

Resource identity.

apiVersion
String
parameters
GenericResourceInner

Create or update resource parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<GenericResourceInner>

Applies to