CommunityGalleryCollection.Exists Method
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.
Checks to see if the resource exists in azure.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
- Operation Id: CommunityGalleries_Get
- Default Api Version: 2023-07-03
- Resource: CommunityGalleryResource
public virtual Azure.Response<bool> Exists (Azure.Core.AzureLocation location, string publicGalleryName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (location As AzureLocation, publicGalleryName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
- location
- AzureLocation
Resource location.
- publicGalleryName
- String
The public name of the community gallery.
- cancellationToken
- CancellationToken
The cancellation token to use.
publicGalleryName
is an empty string, and was expected to be non-empty.
publicGalleryName
is null.
Azure SDK for .NET-visszajelzés
A(z) Azure SDK for .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: