Web Apps - Update Source Control Slot
アプリのソース管理構成を更新するための説明。
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web?api-version=2023-01-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
name
|
path | True |
string |
アプリの名前。 |
resource
|
path | True |
string |
リソースが属しているリソース グループの名前。 Regex pattern: |
slot
|
path | True |
string |
デプロイ スロットの名前。 スロットが指定されていない場合、API は運用スロットのソース管理構成を更新します。 |
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-00000000000000)。 |
api-version
|
query | True |
string |
API バージョン |
要求本文
名前 | 型 | 説明 |
---|---|---|
kind |
string |
リソースの種類。 |
properties.branch |
string |
デプロイに使用するブランチの名前。 |
properties.deploymentRollbackEnabled |
boolean |
|
properties.gitHubActionConfiguration |
[GitHub アクション] が選択されている場合は、関連付けられている構成よりも。 |
|
properties.isGitHubAction |
boolean |
|
properties.isManualIntegration |
boolean |
|
properties.isMercurial |
boolean |
|
properties.repoUrl |
string |
リポジトリまたはソース管理 URL。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
Web アプリのソース管理が正常に作成または更新されました。 |
|
201 Created |
進行中の Web アプリのソース管理を作成または更新します。 |
|
202 Accepted |
進行中の Web アプリのソース管理を作成または更新します。 |
|
Other Status Codes |
エラー応答をApp Serviceします。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
定義
名前 | 説明 |
---|---|
Default |
エラー応答をApp Serviceします。 |
Details | |
Error |
エラー モデル。 |
Git |
GitHub アクション コードの構成。 |
Git |
GitHub アクションの構成。 |
Git |
GitHub アクション コンテナーの構成。 |
Site |
アプリのソース管理の構成。 |
DefaultErrorResponse
エラー応答をApp Serviceします。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
デバッグ エラーの詳細。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
GitHubActionCodeConfiguration
GitHub アクション コードの構成。
名前 | 型 | 説明 |
---|---|---|
runtimeStack |
string |
ランタイム スタックは、コード ベース アプリのワークフロー ファイルコンテンツを決定するために使用されます。 |
runtimeVersion |
string |
ランタイム バージョンは、ワークフロー ファイルで設定するビルド バージョンを決定するために使用されます。 |
GitHubActionConfiguration
GitHub アクションの構成。
名前 | 型 | 説明 |
---|---|---|
codeConfiguration |
GitHub Action コードの構成。 |
|
containerConfiguration |
GitHub Action コンテナーの構成。 |
|
generateWorkflowFile |
boolean |
ワークフロー ファイルを生成してリポジトリに書き込む必要があるかどうかを判断するワークフロー オプション。 |
isLinux |
boolean |
これは、選択するワークフロー構成を決定するのに役立ちます。 |
GitHubActionContainerConfiguration
GitHub アクション コンテナーの構成。
名前 | 型 | 説明 |
---|---|---|
imageName |
string |
ビルドのイメージ名。 |
password |
string |
イメージをコンテナー レジストリにアップロードするために使用されるパスワード。 |
serverUrl |
string |
ビルドがホストされるコンテナー レジストリのサーバー URL。 |
username |
string |
イメージをコンテナー レジストリにアップロードするために使用されるユーザー名。 |
SiteSourceControl
アプリのソース管理の構成。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
リソースの種類。 |
name |
string |
リソース名。 |
properties.branch |
string |
デプロイに使用するブランチの名前。 |
properties.deploymentRollbackEnabled |
boolean |
|
properties.gitHubActionConfiguration |
[GitHub アクション] が選択されている場合は、関連付けられている構成よりも。 |
|
properties.isGitHubAction |
boolean |
|
properties.isManualIntegration |
boolean |
|
properties.isMercurial |
boolean |
|
properties.repoUrl |
string |
リポジトリまたはソース管理 URL。 |
type |
string |
リソースの種類。 |