共用方式為


CommunityGalleryCollection Class

Definition

A class representing a collection of CommunityGalleryResource and their operations. Each CommunityGalleryResource in the collection will belong to the same instance of SubscriptionResource. To get a CommunityGalleryCollection instance call the GetCommunityGalleries method from an instance of SubscriptionResource.

public class CommunityGalleryCollection : Azure.ResourceManager.ArmCollection
type CommunityGalleryCollection = class
    inherit ArmCollection
Public Class CommunityGalleryCollection
Inherits ArmCollection
Inheritance
CommunityGalleryCollection

Constructors

CommunityGalleryCollection()

Initializes a new instance of the CommunityGalleryCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(AzureLocation, String, CancellationToken)

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
ExistsAsync(AzureLocation, String, CancellationToken)

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
Get(AzureLocation, String, CancellationToken)

Get a community gallery by gallery public name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
GetAsync(AzureLocation, String, CancellationToken)

Get a community gallery by gallery public name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
GetIfExists(AzureLocation, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
GetIfExistsAsync(AzureLocation, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to