Microsoft.Web sites/slots/functions 2022-03-01
Bicep リソース定義
サイト/スロット/関数リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Web/sites/slots/functions リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Web/sites/slots/functions@2022-03-01' = {
name: 'string'
kind: 'string'
parent: resourceSymbolicName
properties: {
config: any()
config_href: 'string'
files: {}
function_app_id: 'string'
href: 'string'
invoke_url_template: 'string'
isDisabled: bool
language: 'string'
script_href: 'string'
script_root_path_href: 'string'
secrets_file_href: 'string'
test_data: 'string'
test_data_href: 'string'
}
}
プロパティ値
sites/slots/functions
名前 | 説明 | 値 |
---|---|---|
name | リソース名 Bicep で子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
kind | リソースの種類。 | string |
parent | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「 親リソースの外部の子リソース」を参照してください。 |
種類のリソースのシンボル名: スロット |
properties | FunctionEnvelope リソース固有のプロパティ | FunctionEnvelopeProperties |
FunctionEnvelopeProperties
名前 | 説明 | 値 |
---|---|---|
config | 構成情報。 | Bicep の場合は、 any() 関数を使用できます。 |
config_href | 構成 URI。 | string |
ファイル | ファイルの一覧。 | object |
function_app_id | 関数アプリ ID。 | string |
href | 関数 URI。 | string |
invoke_url_template | 呼び出し URL | string |
isDisabled | 関数が無効かどうかを示す値を取得または設定します。 | [bool] |
language | 関数言語 | string |
script_href | スクリプト URI。 | string |
script_root_path_href | スクリプト のルート パス URI。 | string |
secrets_file_href | シークレット ファイル URI。 | string |
test_data | Azure Portal を使用してテストするときに使用されるデータをテストします。 | string |
test_data_href | データ URI をテストします。 | string |
ARM テンプレート リソース定義
サイト/スロット/関数リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Web/sites/slots/functions リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Web/sites/slots/functions",
"apiVersion": "2022-03-01",
"name": "string",
"kind": "string",
"properties": {
"config": {},
"config_href": "string",
"files": {},
"function_app_id": "string",
"href": "string",
"invoke_url_template": "string",
"isDisabled": "bool",
"language": "string",
"script_href": "string",
"script_root_path_href": "string",
"secrets_file_href": "string",
"test_data": "string",
"test_data_href": "string"
}
}
プロパティ値
sites/slots/functions
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | 'Microsoft.Web/sites/slots/functions' |
apiVersion | リソース API のバージョン | '2022-03-01' |
name | リソース名 JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
kind | リソースの種類。 | string |
properties | FunctionEnvelope リソース固有のプロパティ | FunctionEnvelopeProperties |
FunctionEnvelopeProperties
名前 | 説明 | 値 |
---|---|---|
config | 構成情報。 | |
config_href | 構成 URI。 | string |
ファイル | ファイルの一覧。 | object |
function_app_id | 関数アプリ ID。 | string |
href | 関数 URI。 | string |
invoke_url_template | 呼び出し URL | string |
isDisabled | 関数が無効かどうかを示す値を取得または設定します。 | [bool] |
language | 関数言語 | string |
script_href | スクリプト URI。 | string |
script_root_path_href | スクリプト ルート パス URI。 | string |
secrets_file_href | シークレット ファイル URI。 | string |
test_data | Azure Portal を使用してテストするときに使用されるテスト データ。 | string |
test_data_href | データ URI をテストします。 | string |
Terraform (AzAPI プロバイダー) リソース定義
サイト/スロット/関数のリソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Web/sites/slots/functions リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/sites/slots/functions@2022-03-01"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
config_href = "string"
files = {}
function_app_id = "string"
href = "string"
invoke_url_template = "string"
isDisabled = bool
language = "string"
script_href = "string"
script_root_path_href = "string"
secrets_file_href = "string"
test_data = "string"
test_data_href = "string"
}
kind = "string"
})
}
プロパティ値
sites/slots/functions
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | "Microsoft.Web/sites/slots/functions@2022-03-01" |
name | リソース名 | string (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: スロット |
kind | リソースの種類。 | string |
properties | FunctionEnvelope リソース固有のプロパティ | FunctionEnvelopeProperties |
FunctionEnvelopeProperties
名前 | 説明 | 値 |
---|---|---|
config | 構成情報。 | |
config_href | 構成 URI。 | string |
ファイル | ファイルの一覧。 | object |
function_app_id | 関数アプリ ID。 | string |
href | 関数 URI。 | string |
invoke_url_template | 呼び出し URL | string |
isDisabled | 関数が無効かどうかを示す値を取得または設定します。 | [bool] |
language | 関数言語 | string |
script_href | スクリプト URI。 | string |
script_root_path_href | スクリプト のルート パス URI。 | string |
secrets_file_href | シークレット ファイル URI。 | string |
test_data | Azure Portal を使用してテストするときに使用されるデータをテストします。 | string |
test_data_href | データ URI をテストします。 | string |
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示