次の方法で共有


Configurations - Create Or Update

サーバーの構成をUpdatesします。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}?api-version=2023-06-01-preview

URI パラメーター

名前 / 必須 説明
configurationName
path True

string

サーバー構成の名前。

resourceGroupName
path True

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serverName
path True

string

サーバーの名前。

正規表現パターン: ^[a-z0-9][-a-z0-9]*(?<!-)$

subscriptionId
path True

string

uuid

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

api-version
query True

string

この操作に使用する API バージョン。

要求本文

名前 説明
properties.currentValue

string

構成の現在の値。

properties.source

ConfigurationSource

構成のソース。

properties.value

string

構成の値。

応答

名前 説明
200 OK

Configuration

OK

202 Accepted

同意

ヘッダー

Location: string

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

ConfigurationCreateOrUpdate

Sample request

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/testserver/configurations/event_scheduler?api-version=2023-06-01-preview

{
  "properties": {
    "value": "off",
    "source": "user-override"
  }
}

Sample response

{
  "properties": {
    "value": "ON",
    "description": "Indicates the status of the Event Scheduler.",
    "defaultValue": "OFF",
    "dataType": "Enumeration",
    "allowedValues": "ON,OFF,DISABLED",
    "source": "user-override"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler",
  "name": "event_scheduler",
  "type": "Microsoft.DBforMySQL/servers/configurations"
}

定義

名前 説明
Configuration

構成を表します。

ConfigurationSource

構成のソース。

createdByType

リソースを作成した ID の種類。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

IsConfigPendingRestart

が構成保留中の再起動かどうか。

IsDynamicConfig

が構成の動的である場合。

IsReadOnly

が構成の読み取り専用である場合。

systemData

リソースの作成と最後の変更に関連するメタデータ。

Configuration

構成を表します。

名前 説明
id

string

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

リソースの名前

properties.allowedValues

string

構成で使用できる値。

properties.currentValue

string

構成の現在の値。

properties.dataType

string

構成のデータ型。

properties.defaultValue

string

構成の既定値。

properties.description

string

構成の説明。

properties.documentationLink

string

コミュニティまたは Azure サイトからドキュメントを取得するために使用されるリンク。

properties.isConfigPendingRestart

IsConfigPendingRestart

が構成保留中の再起動かどうか。

properties.isDynamicConfig

IsDynamicConfig

が構成の動的である場合。

properties.isReadOnly

IsReadOnly

が構成の読み取り専用である場合。

properties.source

ConfigurationSource

構成のソース。

properties.value

string

構成の値。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

ConfigurationSource

構成のソース。

名前 説明
system-default

string

user-override

string

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

error オブジェクト。

IsConfigPendingRestart

が構成保留中の再起動かどうか。

名前 説明
False

string

True

string

IsDynamicConfig

が構成の動的である場合。

名前 説明
False

string

True

string

IsReadOnly

が構成の読み取り専用である場合。

名前 説明
False

string

True

string

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。