Share via


SiteSlotBackupCollection Class

Definition

A class representing a collection of SiteSlotBackupResource and their operations. Each SiteSlotBackupResource in the collection will belong to the same instance of WebSiteSlotResource. To get a SiteSlotBackupCollection instance call the GetSiteSlotBackups method from an instance of WebSiteSlotResource.

public class SiteSlotBackupCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AppService.SiteSlotBackupResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.SiteSlotBackupResource>
type SiteSlotBackupCollection = class
    inherit ArmCollection
    interface seq<SiteSlotBackupResource>
    interface IEnumerable
    interface IAsyncEnumerable<SiteSlotBackupResource>
Public Class SiteSlotBackupCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SiteSlotBackupResource), IEnumerable(Of SiteSlotBackupResource)
Inheritance
SiteSlotBackupCollection
Implements

Constructors

SiteSlotBackupCollection()

Initializes a new instance of the SiteSlotBackupCollection 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}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
Get(String, CancellationToken)

Description for Gets a backup of an app by its ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
GetAll(CancellationToken)

Description for Gets existing backups of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups
  • Operation Id: WebApps_ListBackupsSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
GetAllAsync(CancellationToken)

Description for Gets existing backups of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups
  • Operation Id: WebApps_ListBackupsSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
GetAsync(String, CancellationToken)

Description for Gets a backup of an app by its ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}
  • Operation Id: WebApps_GetBackupStatusSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotBackupResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SiteSlotBackupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotBackupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to