Description | : Creates or updates an existing Azure Active Directory administrator. |
Reference | : Link ¶ |
⚼ Request
PUT:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
serverName:
string
,
administratorName:
string
,
parameters:
}
{
,
properties:
{
,
administratorType:
enum
,
login:
string
,
sid:
string
,
tenantId:
string
,
identityResourceId:
string
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (200)
{
properties:
{
,
administratorType:
enum
,
login:
string
,
sid:
string
,
tenantId:
string
,
identityResourceId:
string
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (201)
{
properties:
{
,
administratorType:
enum
,
login:
string
,
sid:
string
,
tenantId:
string
,
identityResourceId:
string
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (202)
{
location:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}