共用方式為


MySqlExtensions Class

Definition

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

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

Methods

CheckMySqlNameAvailability(SubscriptionResource, MySqlNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2017-12-01
CheckMySqlNameAvailabilityAsync(SubscriptionResource, MySqlNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2017-12-01
GetLocationBasedPerformanceTiers(SubscriptionResource, AzureLocation, CancellationToken)

List all the performance tiers at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers
  • Operation Id: LocationBasedPerformanceTier_List
  • Default Api Version: 2017-12-01
GetLocationBasedPerformanceTiersAsync(SubscriptionResource, AzureLocation, CancellationToken)

List all the performance tiers at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers
  • Operation Id: LocationBasedPerformanceTier_List
  • Default Api Version: 2017-12-01
GetMySqlAdvisorResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlAdvisorResource 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 MySqlAdvisorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlAdvisorResource(ResourceIdentifier) instead.

GetMySqlConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlConfigurationResource 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 MySqlConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlConfigurationResource(ResourceIdentifier) instead.

GetMySqlDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlDatabaseResource 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 MySqlDatabaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlDatabaseResource(ResourceIdentifier) instead.

GetMySqlFirewallRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlFirewallRuleResource 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 MySqlFirewallRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlFirewallRuleResource(ResourceIdentifier) instead.

GetMySqlPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlPrivateEndpointConnectionResource 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 MySqlPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetMySqlPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlPrivateLinkResource 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 MySqlPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlPrivateLinkResource(ResourceIdentifier) instead.

GetMySqlQueryStatisticResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlQueryStatisticResource 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 MySqlQueryStatisticResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlQueryStatisticResource(ResourceIdentifier) instead.

GetMySqlQueryTextResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlQueryTextResource 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 MySqlQueryTextResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlQueryTextResource(ResourceIdentifier) instead.

GetMySqlRecommendationActionResource(ArmClient, ResourceIdentifier)

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

GetMySqlServer(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlServerResource
GetMySqlServerAdministratorResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlServerAdministratorResource 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 MySqlServerAdministratorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlServerAdministratorResource(ResourceIdentifier) instead.

GetMySqlServerAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlServerResource
GetMySqlServerKeyResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlServerKeyResource 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 MySqlServerKeyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlServerKeyResource(ResourceIdentifier) instead.

GetMySqlServerResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlServerResource 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 MySqlServerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlServerResource(ResourceIdentifier) instead.

GetMySqlServers(ResourceGroupResource)

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

GetMySqlServers(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers
  • Operation Id: Servers_List
  • Default Api Version: 2017-12-01
  • Resource: MySqlServerResource
GetMySqlServersAsync(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers
  • Operation Id: Servers_List
  • Default Api Version: 2017-12-01
  • Resource: MySqlServerResource
GetMySqlServerSecurityAlertPolicyResource(ArmClient, ResourceIdentifier)

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

GetMySqlVirtualNetworkRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlVirtualNetworkRuleResource 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 MySqlVirtualNetworkRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlVirtualNetworkRuleResource(ResourceIdentifier) instead.

GetMySqlWaitStatisticResource(ArmClient, ResourceIdentifier)

Gets an object representing a MySqlWaitStatisticResource 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 MySqlWaitStatisticResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMySqlWaitStatisticResource(ResourceIdentifier) instead.

Applies to