Client library for MariaDBManagementClient
npm install --save @datafire/azure_mariadb
let azure_mariadb = require('@datafire/azure_mariadb').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.
Lists all of the available REST API operations.
azure_mariadb.Operations_List({
"api-version": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request.
- api-version required
- output OperationListResult
Check the availability of name for resource
azure_mariadb.CheckNameAvailability_Execute({
"api-version": "",
"subscriptionId": "",
"nameAvailabilityRequest": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - nameAvailabilityRequest required NameAvailabilityRequest
- api-version required
- output NameAvailability
List all the performance tiers at specified location in a given subscription.
azure_mariadb.LocationBasedPerformanceTier_List({
"api-version": "",
"subscriptionId": "",
"locationName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - locationName required
string
: The name of the location.
- api-version required
- output PerformanceTierListResult
List all the servers in a given subscription.
azure_mariadb.Servers_List({
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription.
- api-version required
- output ServerListResult
List all the servers in a given resource group.
azure_mariadb.Servers_ListByResourceGroup({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- api-version required
- output ServerListResult
Deletes a server.
azure_mariadb.Servers_Delete({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
Output schema unknown
Gets information about a server.
azure_mariadb.Servers_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output Server
Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
azure_mariadb.Servers_Update({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"parameters": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - parameters required ServerUpdateParameters
- api-version required
- output Server
Creates a new server or updates an existing server. The update action will overwrite the existing server.
azure_mariadb.Servers_Create({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"parameters": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - parameters required ServerForCreate
- api-version required
- output Server
List all the configurations in a given server.
azure_mariadb.Configurations_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output ConfigurationListResult
Gets information about a configuration of server.
azure_mariadb.Configurations_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"configurationName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - configurationName required
string
: The name of the server configuration.
- api-version required
- output Configuration
Updates a configuration of a server.
azure_mariadb.Configurations_CreateOrUpdate({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"configurationName": "",
"parameters": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - configurationName required
string
: The name of the server configuration. - parameters required Configuration
- api-version required
- output Configuration
List all the databases in a given server.
azure_mariadb.Databases_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output DatabaseListResult
Deletes a database.
azure_mariadb.Databases_Delete({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"databaseName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - databaseName required
string
: The name of the database.
- api-version required
Output schema unknown
Gets information about a database.
azure_mariadb.Databases_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"databaseName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - databaseName required
string
: The name of the database.
- api-version required
- output Database
Creates a new database or updates an existing database.
azure_mariadb.Databases_CreateOrUpdate({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"databaseName": "",
"parameters": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - databaseName required
string
: The name of the database. - parameters required Database
- api-version required
- output Database
List all the firewall rules in a given server.
azure_mariadb.FirewallRules_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output FirewallRuleListResult
Deletes a server firewall rule.
azure_mariadb.FirewallRules_Delete({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"firewallRuleName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - firewallRuleName required
string
: The name of the server firewall rule.
- api-version required
Output schema unknown
Gets information about a server firewall rule.
azure_mariadb.FirewallRules_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"firewallRuleName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - firewallRuleName required
string
: The name of the server firewall rule.
- api-version required
- output FirewallRule
Creates a new firewall rule or updates an existing firewall rule.
azure_mariadb.FirewallRules_CreateOrUpdate({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"firewallRuleName": "",
"parameters": null
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - firewallRuleName required
string
: The name of the server firewall rule. - parameters required FirewallRule
- api-version required
- output FirewallRule
List all the log files in a given server.
azure_mariadb.LogFiles_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output LogFileListResult
List all the replicas for a given server.
azure_mariadb.Replicas_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
- output ServerListResult
Restarts a server.
azure_mariadb.Servers_Restart({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- input
object
- api-version required
string
: The API version to use for the request. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server.
- api-version required
Output schema unknown
Get a server's security alert policy.
azure_mariadb.ServerSecurityAlertPolicies_Get({
"resourceGroupName": "",
"serverName": "",
"securityAlertPolicyName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - securityAlertPolicyName required
string
(values: Default): The name of the security alert policy. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output ServerSecurityAlertPolicy
Creates or updates a threat detection policy.
azure_mariadb.ServerSecurityAlertPolicies_CreateOrUpdate({
"resourceGroupName": "",
"serverName": "",
"securityAlertPolicyName": "",
"parameters": {},
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - securityAlertPolicyName required
string
(values: Default): The name of the threat detection policy. - parameters required ServerSecurityAlertPolicy
- subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output ServerSecurityAlertPolicy
Gets a list of virtual network rules in a server.
azure_mariadb.VirtualNetworkRules_ListByServer({
"resourceGroupName": "",
"serverName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output VirtualNetworkRuleListResult
Deletes the virtual network rule with the given name.
azure_mariadb.VirtualNetworkRules_Delete({
"resourceGroupName": "",
"serverName": "",
"virtualNetworkRuleName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - virtualNetworkRuleName required
string
: The name of the virtual network rule. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
Output schema unknown
Gets a virtual network rule.
azure_mariadb.VirtualNetworkRules_Get({
"resourceGroupName": "",
"serverName": "",
"subscriptionId": "",
"api-version": "",
"virtualNetworkRuleName": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request. - virtualNetworkRuleName required
string
: The name of the virtual network rule.
- resourceGroupName required
- output VirtualNetworkRule
Creates or updates an existing virtual network rule.
azure_mariadb.VirtualNetworkRules_CreateOrUpdate({
"resourceGroupName": "",
"serverName": "",
"subscriptionId": "",
"api-version": "",
"virtualNetworkRuleName": "",
"parameters": {}
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - serverName required
string
: The name of the server. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request. - virtualNetworkRuleName required
string
: The name of the virtual network rule. - parameters required VirtualNetworkRule
- resourceGroupName required
- output VirtualNetworkRule
- CloudError
object
: An error response from the Batch service.- error CloudErrorBody
- CloudErrorBody
object
: An error response from the Batch service.- code
string
: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - details
array
: A list of additional details about the error.- items CloudErrorBody
- message
string
: A message describing the error, intended to be suitable for display in a user interface. - target
string
: The target of the particular error. For example, the name of the property in error.
- code
- Configuration
object
: Represents a Configuration.- properties ConfigurationProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- ConfigurationListResult
object
: A list of server configurations.- value
array
: The list of server configurations.- items Configuration
- value
- ConfigurationProperties
object
: The properties of a configuration.- allowedValues
string
: Allowed values of the configuration. - dataType
string
: Data type of the configuration. - defaultValue
string
: Default value of the configuration. - description
string
: Description of the configuration. - source
string
: Source of the configuration. - value
string
: Value of the configuration.
- allowedValues
- Database
object
: Represents a Database.- properties DatabaseProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- DatabaseListResult
object
: A List of databases.- value
array
: The list of databases housed in a server- items Database
- value
- DatabaseProperties
object
: The properties of a database.- charset
string
: The charset of the database. - collation
string
: The collation of the database.
- charset
- FirewallRule
object
: Represents a server firewall rule.- properties required FirewallRuleProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- FirewallRuleListResult
object
: A list of firewall rules.- value
array
: The list of firewall rules in a server.- items FirewallRule
- value
- FirewallRuleProperties
object
: The properties of a server firewall rule.- endIpAddress required
string
: The end IP address of the server firewall rule. Must be IPv4 format. - startIpAddress required
string
: The start IP address of the server firewall rule. Must be IPv4 format.
- endIpAddress required
- LogFile
object
: Represents a log file.- name
string
: The name of the log file. - properties LogFileProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- name
- LogFileListResult
object
: A list of log files.- value
array
: The list of log files.- items LogFile
- value
- LogFileProperties
object
: The properties of a log file.- createdTime
string
: Creation timestamp of the log file. - lastModifiedTime
string
: Last modified timestamp of the log file. - sizeInKB
integer
: Size of the log file. - type
string
: Type of the log file. - url
string
: The url to download the log file from.
- createdTime
- NameAvailability
object
: Represents a resource name availability.- message
string
: Error Message. - nameAvailable
boolean
: Indicates whether the resource name is available. - reason
string
: Reason for name being unavailable.
- message
- NameAvailabilityRequest
object
: Request from client to check resource name availability.- name required
string
: Resource name to verify. - type
string
: Resource type used for verification.
- name required
- Operation
object
: REST API operation definition.- display OperationDisplay
- name
string
: The name of the operation being performed on this particular object. - origin
string
(values: NotSpecified, user, system): The intended executor of the operation. - properties
object
: Additional descriptions for the operation.
- OperationDisplay
object
: Display metadata associated with the operation.- description
string
: Operation description. - operation
string
: Localized friendly name for the operation. - provider
string
: Operation resource provider name. - resource
string
: Resource on which the operation is performed.
- description
- OperationListResult
object
: A list of resource provider operations.- value
array
: The list of resource provider operations.- items Operation
- value
- PerformanceTierListResult
object
: A list of performance tiers.- value
array
: The list of performance tiers
- value
- PerformanceTierProperties
object
: Performance tier properties- id
string
: ID of the performance tier. - serviceLevelObjectives
array
: Service level objectives associated with the performance tier
- id
- PerformanceTierServiceLevelObjectives
object
: Service level objectives for performance tier.- edition
string
: Edition of the performance tier. - hardwareGeneration
string
: Hardware generation associated with the service level objective - id
string
: ID for the service level objective. - maxBackupRetentionDays
integer
: Maximum Backup retention in days for the performance tier edition - maxStorageMB
integer
: Max storage allowed for a server. - minBackupRetentionDays
integer
: Minimum Backup retention in days for the performance tier edition - minStorageMB
integer
: Max storage allowed for a server. - vCore
integer
: vCore associated with the service level objective
- edition
- ProxyResource
object
: Resource properties.- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- id
- ResourceIdentity
object
: Azure Active Directory identity configuration for a resource.- principalId
string
: The Azure Active Directory principal id. - tenantId
string
: The Azure Active Directory tenant id. - type
string
(values: SystemAssigned): The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- principalId
- SecurityAlertPolicyProperties
object
: Properties of a security alert policy.- disabledAlerts
array
: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly- items
string
- items
- emailAccountAdmins
boolean
: Specifies that the alert is sent to the account administrators. - emailAddresses
array
: Specifies an array of e-mail addresses to which the alert is sent.- items
string
- items
- retentionDays
integer
: Specifies the number of days to keep in the Threat Detection audit logs. - state required
string
(values: Enabled, Disabled): Specifies the state of the policy, whether it is enabled or disabled. - storageAccountAccessKey
string
: Specifies the identifier key of the Threat Detection audit storage account. - storageEndpoint
string
: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
- disabledAlerts
- Server
object
: Represents a server.- identity ResourceIdentity
- properties ServerProperties
- sku Sku
- location required
string
: The location the resource resides in. - tags
object
: Application-specific metadata in the form of key-value pairs. - id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- ServerForCreate
object
: Represents a server to be created.- location required
string
: The location the resource resides in. - properties required ServerPropertiesForCreate
- sku Sku
- tags
object
: Application-specific metadata in the form of key-value pairs.
- location required
- ServerListResult
object
: A list of servers.- value
array
: The list of servers- items Server
- value
- ServerProperties
object
: The properties of a server.- administratorLogin
string
: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - earliestRestoreDate
string
: Earliest restore point creation time (ISO8601 format) - fullyQualifiedDomainName
string
: The fully qualified domain name of a server. - masterServerId
string
: The master server id of a replica server. - replicaCapacity
integer
: The maximum number of replicas that a master server can have. - replicationRole
string
: The replication role of the server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- userVisibleState
string
(values: Ready, Dropping, Disabled): A state of a server that is visible to user. - version ServerVersion
- administratorLogin
- ServerPropertiesForCreate
object
: The properties used to create a new server.- createMode required
string
(values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- createMode required
- ServerPropertiesForDefaultCreate
object
: The properties used to create a new server.- administratorLogin required
string
: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - administratorLoginPassword required
string
: The password of the administrator login. - createMode required
string
(values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- administratorLogin required
- ServerPropertiesForGeoRestore
object
: The properties used to create a new server by restoring to a different region from a geo replicated backup.- sourceServerId required
string
: The source server id to restore from. - createMode required
string
(values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- sourceServerId required
- ServerPropertiesForReplica
object
: The properties to create a new replica.- sourceServerId required
string
: The master server id to create replica from. - createMode required
string
(values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- sourceServerId required
- ServerPropertiesForRestore
object
: The properties used to create a new server by restoring from a backup.- restorePointInTime required
string
: Restore point creation time (ISO8601 format), specifying the time to restore from. - sourceServerId required
string
: The source server id to restore from. - createMode required
string
(values: Default, PointInTimeRestore, GeoRestore, Replica): The mode to create a new server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- restorePointInTime required
- ServerSecurityAlertPolicy
object
: A server security alert policy.- properties SecurityAlertPolicyProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- ServerUpdateParameters
object
: Parameters allowed to update for a server.- properties
object
: The properties that can be updated for a server.- administratorLoginPassword
string
: The password of the administrator login. - replicationRole
string
: The replication role of the server. - sslEnforcement SslEnforcement
- storageProfile StorageProfile
- version ServerVersion
- administratorLoginPassword
- sku Sku
- tags
object
: Application-specific metadata in the form of key-value pairs.
- properties
- ServerVersion
string
(values: 5.6, 5.7): The version of a server.
- Sku
object
: Billing information related properties of a server.- capacity
integer
: The scale up/out capacity, representing server's compute units. - family
string
: The family of hardware. - name
string
: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - size
string
: The size code, to be interpreted by resource as appropriate. - tier
string
(values: Basic, GeneralPurpose, MemoryOptimized): The tier of the particular SKU, e.g. Basic.
- capacity
- SslEnforcement
string
(values: Enabled, Disabled): Enable ssl enforcement or not when connect to server.
- StorageProfile
object
: Storage Profile properties of a server- backupRetentionDays
integer
: Backup retention days for the server. - geoRedundantBackup
string
(values: Enabled, Disabled): Enable Geo-redundant or not for server backup. - storageAutogrow
string
(values: Enabled, Disabled): Enable Storage Auto Grow. - storageMB
integer
: Max storage allowed for a server.
- backupRetentionDays
- TrackedResource
object
: Resource properties including location and tags for track resources.- location required
string
: The location the resource resides in. - tags
object
: Application-specific metadata in the form of key-value pairs. - id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- location required
- VirtualNetworkRule
object
: A virtual network rule.- properties VirtualNetworkRuleProperties
- id
string
: Resource ID - name
string
: Resource name. - type
string
: Resource type.
- VirtualNetworkRuleListResult
object
: A list of virtual network rules.- nextLink
string
: Link to retrieve next page of results. - value
array
: Array of results.- items VirtualNetworkRule
- nextLink
- VirtualNetworkRuleProperties
object
: Properties of a virtual network rule.- ignoreMissingVnetServiceEndpoint
boolean
: Create firewall rule before the virtual network has vnet service endpoint enabled. - state
string
(values: Initializing, InProgress, Ready, Deleting, Unknown): Virtual Network Rule State - virtualNetworkSubnetId required
string
: The ARM resource id of the virtual network subnet.
- ignoreMissingVnetServiceEndpoint