Share via


MySqlFlexibleServerBackupCollection Class

Definition

A class representing a collection of MySqlFlexibleServerBackupResource and their operations. Each MySqlFlexibleServerBackupResource in the collection will belong to the same instance of MySqlFlexibleServerResource. To get a MySqlFlexibleServerBackupCollection instance call the GetMySqlFlexibleServerBackups method from an instance of MySqlFlexibleServerResource.

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

Constructors

MySqlFlexibleServerBackupCollection()

Initializes a new instance of the MySqlFlexibleServerBackupCollection 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

CreateOrUpdate(WaitUntil, String, CancellationToken)

Create backup for a given server with specified backup name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Put
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Create backup for a given server with specified backup name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Put
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
Get(String, CancellationToken)

List all the backups for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
GetAll(CancellationToken)

List all the backups for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups
  • Operation Id: Backups_ListByServer
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
GetAllAsync(CancellationToken)

List all the backups for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups
  • Operation Id: Backups_ListByServer
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
GetAsync(String, CancellationToken)

List all the backups for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerBackupResource
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<MySqlFlexibleServerBackupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlFlexibleServerBackupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to