GalleriesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, Microsoft.Azure.Management.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * Microsoft.Azure.Management.Compute.Models.Gallery * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, gallery As Gallery, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin