共用方式為


FlexibleServersExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.MySql.FlexibleServers.

public static class FlexibleServersExtensions
type FlexibleServersExtensions = class
Public Module FlexibleServersExtensions
Inheritance
FlexibleServersExtensions

Methods

CheckMySqlFlexibleServerNameAvailability(SubscriptionResource, AzureLocation, MySqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for server

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2023-12-30
CheckMySqlFlexibleServerNameAvailabilityAsync(SubscriptionResource, AzureLocation, MySqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for server

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2023-12-30
CheckMySqlFlexibleServerNameAvailabilityWithoutLocation(SubscriptionResource, MySqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for server

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithoutLocation_Execute
  • Default Api Version: 2023-12-30
CheckMySqlFlexibleServerNameAvailabilityWithoutLocationAsync(SubscriptionResource, MySqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for server

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithoutLocation_Execute
  • Default Api Version: 2023-12-30
ExecuteCheckVirtualNetworkSubnetUsage(SubscriptionResource, AzureLocation, MySqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken)

Get virtual network subnet usage for a given vNet resource id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operation Id: CheckVirtualNetworkSubnetUsage_Execute
  • Default Api Version: 2023-12-30
ExecuteCheckVirtualNetworkSubnetUsageAsync(SubscriptionResource, AzureLocation, MySqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken)

Get virtual network subnet usage for a given vNet resource id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operation Id: CheckVirtualNetworkSubnetUsage_Execute
  • Default Api Version: 2023-12-30
ExecuteGetPrivateDnsZoneSuffix(TenantResource, CancellationToken)

Get private DNS zone suffix in the cloud.

  • Request Path: /providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2023-12-30
ExecuteGetPrivateDnsZoneSuffixAsync(TenantResource, CancellationToken)

Get private DNS zone suffix in the cloud.

  • Request Path: /providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2023-12-30
GetAdvancedThreatProtectionResource(ArmClient, ResourceIdentifier)

Gets an object representing an AdvancedThreatProtectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, AdvancedThreatProtectionName) to create an AdvancedThreatProtectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAdvancedThreatProtectionResource(ResourceIdentifier) instead.

GetLocationBasedCapabilities(SubscriptionResource, AzureLocation, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities
  • Operation Id: LocationBasedCapabilities_List
  • Default Api Version: 2023-12-30
GetLocationBasedCapabilitiesAsync(SubscriptionResource, AzureLocation, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities
  • Operation Id: LocationBasedCapabilities_List
  • Default Api Version: 2023-12-30
GetMySqlFlexibleServer(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
GetMySqlFlexibleServerAadAdministratorResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerAadAdministratorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, MySqlFlexibleServerAdministratorName) to create a MySqlFlexibleServerAadAdministratorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerAadAdministratorResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
GetMySqlFlexibleServerBackupResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerBackupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerBackupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerBackupResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerBackupV2Resource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerBackupV2Resource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerBackupV2ResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerBackupV2Resource(ResourceIdentifier) instead.

GetMySqlFlexibleServerConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerConfigurationResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerDatabaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerDatabaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerDatabaseResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerFirewallRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerFirewallRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerFirewallRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerFirewallRuleResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerMaintenanceResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerMaintenanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MySqlFlexibleServerMaintenanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerMaintenanceResource(ResourceIdentifier) instead.

GetMySqlFlexibleServerResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MySqlFlexibleServerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServerResource(ResourceIdentifier) instead.

GetMySqlFlexibleServers(ResourceGroupResource)

Gets a collection of MySqlFlexibleServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMySqlFlexibleServers() instead.

GetMySqlFlexibleServers(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
GetMySqlFlexibleServersAsync(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
GetMySqlFlexibleServersCapabilities(SubscriptionResource, AzureLocation)

Gets a collection of MySqlFlexibleServersCapabilityResources in the SubscriptionResource. MockingTo mock this method, please mock GetMySqlFlexibleServersCapabilities(AzureLocation) instead.

GetMySqlFlexibleServersCapability(SubscriptionResource, AzureLocation, String, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}
  • Operation Id: LocationBasedCapabilitySet_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServersCapabilityResource
GetMySqlFlexibleServersCapabilityAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}
  • Operation Id: LocationBasedCapabilitySet_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServersCapabilityResource
GetMySqlFlexibleServersCapabilityResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFlexibleServersCapabilityResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a MySqlFlexibleServersCapabilityResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFlexibleServersCapabilityResource(ResourceIdentifier) instead.

GetOperationResult(SubscriptionResource, AzureLocation, String, CancellationToken)

Get the operation result for a long running operation.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/operationResults/{operationId}
  • Operation Id: OperationResults_Get
  • Default Api Version: 2023-12-30
GetOperationResultAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get the operation result for a long running operation.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/operationResults/{operationId}
  • Operation Id: OperationResults_Get
  • Default Api Version: 2023-12-30

Applies to