Udostępnij za pośrednictwem


ResourceOperationsExtensions.CreateOrUpdate Method

Definition

Create a resource.

public static Microsoft.Azure.Management.Resources.Models.ResourceCreateOrUpdateResult CreateOrUpdate (this Microsoft.Azure.Management.Resources.IResourceOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Resources.Models.GenericResource parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Resources.IResourceOperations * string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Resources.Models.GenericResource -> Microsoft.Azure.Management.Resources.Models.ResourceCreateOrUpdateResult
<Extension()>
Public Function CreateOrUpdate (operations As IResourceOperations, resourceGroupName As String, identity As ResourceIdentity, parameters As GenericResource) As ResourceCreateOrUpdateResult

Parameters

operations
IResourceOperations

Reference to the Microsoft.Azure.Management.Resources.IResourceOperations.

resourceGroupName
String

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

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

parameters
GenericResource

Required. Create or update resource parameters.

Returns

Resource information.

Applies to