Share via


SiteConfigSnapshotCollection Class

Definition

A class representing a collection of SiteConfigSnapshotResource and their operations. Each SiteConfigSnapshotResource in the collection will belong to the same instance of WebSiteConfigResource. To get a SiteConfigSnapshotCollection instance call the GetSiteConfigSnapshots method from an instance of WebSiteConfigResource.

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

Constructors

SiteConfigSnapshotCollection()

Initializes a new instance of the SiteConfigSnapshotCollection 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(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
Get(String, CancellationToken)

Description for Gets a snapshot of the configuration of an app at a previous point in time.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
GetAsync(String, CancellationToken)

Description for Gets a snapshot of the configuration of an app at a previous point in time.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}
  • Operation Id: WebApps_GetConfigurationSnapshot
  • Default Api Version: 2021-02-01
  • Resource: SiteConfigSnapshotResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to