Servers - Create
Creates a new server or updates an existing server. The update action will overwrite the existing server.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}?api-version=2017-12-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
server
|
path | True |
string |
The name of the server. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
location | True |
string |
The location the resource resides in. |
properties | True | ServerPropertiesForCreate: |
Properties of the server. |
identity |
The Azure Active Directory identity of the server. |
||
sku |
The SKU (pricing tier) of the server. |
||
tags |
object |
Application-specific metadata in the form of key-value pairs. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
201 Created |
Created |
|
202 Accepted |
Accepted |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Create a database as a point in time restore |
Create a new server |
Create a replica server |
Create a server as a geo restore |
Create a database as a point in time restore
Sample request
PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver?api-version=2017-12-01
{
"location": "brazilsouth",
"properties": {
"restorePointInTime": "2017-12-14T00:00:37.467Z",
"createMode": "PointInTimeRestore",
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
},
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"tags": {
"ElasticServer": "1"
}
}
Sample response
{
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 7,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
},
"location": "brazilsouth",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers"
}
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers",
"location": "brazilsouth",
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"tags": {
"elasticServer": "1"
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 7,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Create a new server
Sample request
PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4?api-version=2017-12-01
{
"location": "westus",
"properties": {
"administratorLogin": "cloudsa",
"administratorLoginPassword": "<administratorLoginPassword>",
"sslEnforcement": "Enabled",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 7,
"geoRedundantBackup": "Enabled"
},
"createMode": "Default"
},
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"capacity": 2,
"family": "Gen5"
},
"tags": {
"ElasticServer": "1"
}
}
Sample response
{
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 7,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4",
"name": "mysqltestsvc4",
"type": "Microsoft.DBforMySQL/servers"
}
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4",
"name": "mysqltestsvc4",
"type": "Microsoft.DBforMySQL/servers",
"location": "westus",
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"tags": {
"elasticServer": "1"
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 7,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Create a replica server
Sample request
PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver?api-version=2017-12-01
{
"location": "westus",
"properties": {
"createMode": "Replica",
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver"
}
}
Sample response
{
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers"
}
{
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
"replicaCapacity": 0
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Create a server as a geo restore
Sample request
PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver?api-version=2017-12-01
{
"location": "westus",
"properties": {
"createMode": "GeoRestore",
"sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
},
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"tags": {
"ElasticServer": "1"
}
}
Sample response
{
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers"
}
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
"name": "targetserver",
"type": "Microsoft.DBforMySQL/servers",
"location": "westus",
"sku": {
"name": "GP_Gen5_2",
"tier": "GeneralPurpose",
"family": "Gen5",
"capacity": 2
},
"tags": {
"elasticServer": "1"
},
"properties": {
"administratorLogin": "cloudsa",
"storageProfile": {
"storageMB": 128000,
"backupRetentionDays": 14,
"geoRedundantBackup": "Enabled"
},
"version": "5.7",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
"earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Definitions
Name | Description |
---|---|
Cloud |
An error response from the Batch service. |
Error |
The resource management error additional info. |
Error |
Error Response |
Geo |
Enable Geo-redundant or not for server backup. |
Identity |
The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. |
Infrastructure |
Add a second layer of encryption for your data using new encryption algorithm which gives additional data protection. Value is optional but if passed in, must be 'Disabled' or 'Enabled'. |
Minimal |
Enforce a minimal Tls version for the server. |
Private |
|
Private |
State of the private endpoint connection. |
Private |
The actions required for private link service connection. |
Private |
The private link service connection status. |
Public |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
Resource |
Azure Active Directory identity configuration for a resource. |
Server |
Represents a server. |
Server |
Represents a server to be created. |
Server |
A private endpoint connection under a server |
Server |
Properties of a private endpoint connection. |
Server |
|
Server |
The properties used to create a new server. |
Server |
The properties used to create a new server by restoring to a different region from a geo replicated backup. |
Server |
The properties to create a new replica. |
Server |
The properties used to create a new server by restoring from a backup. |
Server |
A state of a server that is visible to user. |
Server |
The version of a server. |
Sku |
Billing information related properties of a server. |
Sku |
The tier of the particular SKU, e.g. Basic. |
Ssl |
Enable ssl enforcement or not when connect to server. |
Storage |
Enable Storage Auto Grow. |
Storage |
Storage Profile properties of a server |
CloudError
An error response from the Batch service.
Name | Type | Description |
---|---|---|
error |
Error Response |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorResponse
Error Response
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
GeoRedundantBackup
Enable Geo-redundant or not for server backup.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
IdentityType
The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
Name | Type | Description |
---|---|---|
SystemAssigned |
string |
InfrastructureEncryption
Add a second layer of encryption for your data using new encryption algorithm which gives additional data protection. Value is optional but if passed in, must be 'Disabled' or 'Enabled'.
Name | Type | Description |
---|---|---|
Disabled |
string |
Additional (2nd) layer of encryption for data at rest |
Enabled |
string |
Default value for single layer of encryption for data at rest. |
MinimalTlsVersionEnum
Enforce a minimal Tls version for the server.
Name | Type | Description |
---|---|---|
TLS1_0 |
string |
|
TLS1_1 |
string |
|
TLS1_2 |
string |
|
TLSEnforcementDisabled |
string |
PrivateEndpointProperty
Name | Type | Description |
---|---|---|
id |
string |
Resource id of the private endpoint. |
PrivateEndpointProvisioningState
State of the private endpoint connection.
Name | Type | Description |
---|---|---|
Approving |
string |
|
Dropping |
string |
|
Failed |
string |
|
Ready |
string |
|
Rejecting |
string |
PrivateLinkServiceConnectionStateActionsRequire
The actions required for private link service connection.
Name | Type | Description |
---|---|---|
None |
string |
PrivateLinkServiceConnectionStateStatus
The private link service connection status.
Name | Type | Description |
---|---|---|
Approved |
string |
|
Disconnected |
string |
|
Pending |
string |
|
Rejected |
string |
PublicNetworkAccessEnum
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
ResourceIdentity
Azure Active Directory identity configuration for a resource.
Name | Type | Description |
---|---|---|
principalId |
string |
The Azure Active Directory principal id. |
tenantId |
string |
The Azure Active Directory tenant id. |
type |
The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. |
Server
Represents a server.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
identity |
The Azure Active Directory identity of the server. |
|
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.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). |
properties.byokEnforcement |
string |
Status showing whether the server data encryption is enabled with customer-managed keys. |
properties.earliestRestoreDate |
string |
Earliest restore point creation time (ISO8601 format) |
properties.fullyQualifiedDomainName |
string |
The fully qualified domain name of a server. |
properties.infrastructureEncryption |
Status showing whether the server enabled infrastructure encryption. |
|
properties.masterServerId |
string |
The master server id of a replica server. |
properties.minimalTlsVersion |
Enforce a minimal Tls version for the server. |
|
properties.privateEndpointConnections |
List of private endpoint connections on a server |
|
properties.publicNetworkAccess |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
|
properties.replicaCapacity |
integer |
The maximum number of replicas that a master server can have. |
properties.replicationRole |
string |
The replication role of the server. |
properties.sslEnforcement |
Enable ssl enforcement or not when connect to server. |
|
properties.storageProfile |
Storage profile of a server. |
|
properties.userVisibleState |
A state of a server that is visible to user. |
|
properties.version |
Server version. |
|
sku |
The SKU (pricing tier) of the server. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ServerForCreate
Represents a server to be created.
Name | Type | Description |
---|---|---|
identity |
The Azure Active Directory identity of the server. |
|
location |
string |
The location the resource resides in. |
properties | ServerPropertiesForCreate: |
Properties of the server. |
sku |
The SKU (pricing tier) of the server. |
|
tags |
object |
Application-specific metadata in the form of key-value pairs. |
ServerPrivateEndpointConnection
A private endpoint connection under a server
Name | Type | Description |
---|---|---|
id |
string |
Resource Id of the private endpoint connection. |
properties |
Private endpoint connection properties |
ServerPrivateEndpointConnectionProperties
Properties of a private endpoint connection.
Name | Type | Description |
---|---|---|
privateEndpoint |
Private endpoint which the connection belongs to. |
|
privateLinkServiceConnectionState |
Connection state of the private endpoint connection. |
|
provisioningState |
State of the private endpoint connection. |
ServerPrivateLinkServiceConnectionStateProperty
Name | Type | Description |
---|---|---|
actionsRequired |
The actions required for private link service connection. |
|
description |
string |
The private link service connection description. |
status |
The private link service connection status. |
ServerPropertiesForDefaultCreate
The properties used to create a new server.
Name | Type | Description |
---|---|---|
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). The login name is required when updating password. |
administratorLoginPassword |
string |
The password of the administrator login. |
createMode |
string:
Default |
The mode to create a new server. |
infrastructureEncryption |
Status showing whether the server enabled infrastructure encryption. |
|
minimalTlsVersion |
Enforce a minimal Tls version for the server. |
|
publicNetworkAccess |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
|
sslEnforcement |
Enable ssl enforcement or not when connect to server. |
|
storageProfile |
Storage profile of a server. |
|
version |
Server version. |
ServerPropertiesForGeoRestore
The properties used to create a new server by restoring to a different region from a geo replicated backup.
Name | Type | Description |
---|---|---|
createMode |
string:
Geo |
The mode to create a new server. |
infrastructureEncryption |
Status showing whether the server enabled infrastructure encryption. |
|
minimalTlsVersion |
Enforce a minimal Tls version for the server. |
|
publicNetworkAccess |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
|
sourceServerId |
string |
The source server id to restore from. |
sslEnforcement |
Enable ssl enforcement or not when connect to server. |
|
storageProfile |
Storage profile of a server. |
|
version |
Server version. |
ServerPropertiesForReplica
The properties to create a new replica.
Name | Type | Description |
---|---|---|
createMode |
string:
Replica |
The mode to create a new server. |
infrastructureEncryption |
Status showing whether the server enabled infrastructure encryption. |
|
minimalTlsVersion |
Enforce a minimal Tls version for the server. |
|
publicNetworkAccess |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
|
sourceServerId |
string |
The master server id to create replica from. |
sslEnforcement |
Enable ssl enforcement or not when connect to server. |
|
storageProfile |
Storage profile of a server. |
|
version |
Server version. |
ServerPropertiesForRestore
The properties used to create a new server by restoring from a backup.
Name | Type | Description |
---|---|---|
createMode |
string:
Point |
The mode to create a new server. |
infrastructureEncryption |
Status showing whether the server enabled infrastructure encryption. |
|
minimalTlsVersion |
Enforce a minimal Tls version for the server. |
|
publicNetworkAccess |
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' |
|
restorePointInTime |
string |
Restore point creation time (ISO8601 format), specifying the time to restore from. |
sourceServerId |
string |
The source server id to restore from. |
sslEnforcement |
Enable ssl enforcement or not when connect to server. |
|
storageProfile |
Storage profile of a server. |
|
version |
Server version. |
ServerState
A state of a server that is visible to user.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Dropping |
string |
|
Inaccessible |
string |
|
Ready |
string |
ServerVersion
The version of a server.
Name | Type | Description |
---|---|---|
5.6 |
string |
|
5.7 |
string |
|
8.0 |
string |
Sku
Billing information related properties of a server.
Name | Type | Description |
---|---|---|
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 |
The tier of the particular SKU, e.g. Basic. |
SkuTier
The tier of the particular SKU, e.g. Basic.
Name | Type | Description |
---|---|---|
Basic |
string |
|
GeneralPurpose |
string |
|
MemoryOptimized |
string |
SslEnforcementEnum
Enable ssl enforcement or not when connect to server.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
StorageAutogrow
Enable Storage Auto Grow.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
StorageProfile
Storage Profile properties of a server
Name | Type | Description |
---|---|---|
backupRetentionDays |
integer |
Backup retention days for the server. |
geoRedundantBackup |
Enable Geo-redundant or not for server backup. |
|
storageAutogrow |
Enable Storage Auto Grow. |
|
storageMB |
integer |
Max storage allowed for a server. |