共用方式為


GalleriesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a Shared Image Gallery.

public static Microsoft.Azure.Management.Compute.Models.Gallery CreateOrUpdate (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Models.Gallery gallery);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * Microsoft.Azure.Management.Compute.Models.Gallery -> Microsoft.Azure.Management.Compute.Models.Gallery
<Extension()>
Public Function CreateOrUpdate (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, gallery As Gallery) As Gallery

Parameters

operations
IGalleriesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

galleryName
String

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

gallery
Gallery

Parameters supplied to the create or update Shared Image Gallery operation.

Returns

Applies to