|
11958 | 11958 | }, |
11959 | 11959 | { |
11960 | 11960 | "$ref": "#/definitions/ExecuteDataFlowActivity" |
| 11961 | + }, |
| 11962 | + { |
| 11963 | + "$ref": "#/definitions/ScriptActivity" |
11961 | 11964 | } |
11962 | 11965 | ], |
11963 | 11966 | "properties": { |
@@ -24877,6 +24880,211 @@ |
24877 | 24880 | ], |
24878 | 24881 | "description": "Custom script action to run on HDI ondemand cluster once it's up." |
24879 | 24882 | }, |
| 24883 | + "ScriptActivity": { |
| 24884 | + "type": "object", |
| 24885 | + "properties": { |
| 24886 | + "type": { |
| 24887 | + "type": "string", |
| 24888 | + "enum": [ |
| 24889 | + "Script" |
| 24890 | + ] |
| 24891 | + }, |
| 24892 | + "typeProperties": { |
| 24893 | + "oneOf": [ |
| 24894 | + { |
| 24895 | + "$ref": "#/definitions/ScriptActivityTypeProperties" |
| 24896 | + }, |
| 24897 | + { |
| 24898 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 24899 | + } |
| 24900 | + ], |
| 24901 | + "description": "Script activity properties." |
| 24902 | + } |
| 24903 | + }, |
| 24904 | + "required": [ |
| 24905 | + "type", |
| 24906 | + "typeProperties" |
| 24907 | + ], |
| 24908 | + "description": "Script activity type." |
| 24909 | + }, |
| 24910 | + "ScriptActivityParameter": { |
| 24911 | + "type": "object", |
| 24912 | + "properties": { |
| 24913 | + "direction": { |
| 24914 | + "oneOf": [ |
| 24915 | + { |
| 24916 | + "type": "string", |
| 24917 | + "enum": [ |
| 24918 | + "Input", |
| 24919 | + "Output", |
| 24920 | + "InputOutput" |
| 24921 | + ] |
| 24922 | + }, |
| 24923 | + { |
| 24924 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 24925 | + } |
| 24926 | + ], |
| 24927 | + "description": "The direction of the parameter." |
| 24928 | + }, |
| 24929 | + "name": { |
| 24930 | + "type": "object", |
| 24931 | + "properties": {}, |
| 24932 | + "description": "The name of the parameter. Type: string (or Expression with resultType string)." |
| 24933 | + }, |
| 24934 | + "size": { |
| 24935 | + "oneOf": [ |
| 24936 | + { |
| 24937 | + "type": "integer" |
| 24938 | + }, |
| 24939 | + { |
| 24940 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 24941 | + } |
| 24942 | + ], |
| 24943 | + "description": "The size of the output direction parameter." |
| 24944 | + }, |
| 24945 | + "type": { |
| 24946 | + "oneOf": [ |
| 24947 | + { |
| 24948 | + "type": "string", |
| 24949 | + "enum": [ |
| 24950 | + "Boolean", |
| 24951 | + "DateTime", |
| 24952 | + "DateTimeOffset", |
| 24953 | + "Decimal", |
| 24954 | + "Double", |
| 24955 | + "Guid", |
| 24956 | + "Int16", |
| 24957 | + "Int32", |
| 24958 | + "Int64", |
| 24959 | + "Single", |
| 24960 | + "String", |
| 24961 | + "Timespan" |
| 24962 | + ] |
| 24963 | + }, |
| 24964 | + { |
| 24965 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 24966 | + } |
| 24967 | + ], |
| 24968 | + "description": "The type of the parameter." |
| 24969 | + }, |
| 24970 | + "value": { |
| 24971 | + "type": "object", |
| 24972 | + "properties": {}, |
| 24973 | + "description": "The value of the parameter." |
| 24974 | + } |
| 24975 | + }, |
| 24976 | + "description": "Parameters of a script block." |
| 24977 | + }, |
| 24978 | + "ScriptActivityScriptBlock": { |
| 24979 | + "type": "object", |
| 24980 | + "properties": { |
| 24981 | + "parameters": { |
| 24982 | + "oneOf": [ |
| 24983 | + { |
| 24984 | + "type": "array", |
| 24985 | + "items": { |
| 24986 | + "$ref": "#/definitions/ScriptActivityParameter" |
| 24987 | + } |
| 24988 | + }, |
| 24989 | + { |
| 24990 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 24991 | + } |
| 24992 | + ], |
| 24993 | + "description": "Array of script parameters. Type: array." |
| 24994 | + }, |
| 24995 | + "text": { |
| 24996 | + "type": "object", |
| 24997 | + "properties": {}, |
| 24998 | + "description": "The query text. Type: string (or Expression with resultType string)." |
| 24999 | + }, |
| 25000 | + "type": { |
| 25001 | + "oneOf": [ |
| 25002 | + { |
| 25003 | + "type": "string", |
| 25004 | + "enum": [ |
| 25005 | + "Query", |
| 25006 | + "NonQuery" |
| 25007 | + ] |
| 25008 | + }, |
| 25009 | + { |
| 25010 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 25011 | + } |
| 25012 | + ], |
| 25013 | + "description": "The type of the query. Type: string." |
| 25014 | + } |
| 25015 | + }, |
| 25016 | + "required": [ |
| 25017 | + "text", |
| 25018 | + "type" |
| 25019 | + ], |
| 25020 | + "description": "Script block of scripts." |
| 25021 | + }, |
| 25022 | + "ScriptActivityTypeProperties": { |
| 25023 | + "type": "object", |
| 25024 | + "properties": { |
| 25025 | + "logSettings": { |
| 25026 | + "oneOf": [ |
| 25027 | + { |
| 25028 | + "$ref": "#/definitions/ScriptActivityTypePropertiesLogSettings" |
| 25029 | + }, |
| 25030 | + { |
| 25031 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 25032 | + } |
| 25033 | + ], |
| 25034 | + "description": "Log settings of script activity." |
| 25035 | + }, |
| 25036 | + "scripts": { |
| 25037 | + "oneOf": [ |
| 25038 | + { |
| 25039 | + "type": "array", |
| 25040 | + "items": { |
| 25041 | + "$ref": "#/definitions/ScriptActivityScriptBlock" |
| 25042 | + } |
| 25043 | + }, |
| 25044 | + { |
| 25045 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 25046 | + } |
| 25047 | + ], |
| 25048 | + "description": "Array of script blocks. Type: array." |
| 25049 | + } |
| 25050 | + }, |
| 25051 | + "description": "Script activity properties." |
| 25052 | + }, |
| 25053 | + "ScriptActivityTypePropertiesLogSettings": { |
| 25054 | + "type": "object", |
| 25055 | + "properties": { |
| 25056 | + "logDestination": { |
| 25057 | + "oneOf": [ |
| 25058 | + { |
| 25059 | + "type": "string", |
| 25060 | + "enum": [ |
| 25061 | + "ActivityOutput", |
| 25062 | + "ExternalStore" |
| 25063 | + ] |
| 25064 | + }, |
| 25065 | + { |
| 25066 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 25067 | + } |
| 25068 | + ], |
| 25069 | + "description": "The destination of logs. Type: string." |
| 25070 | + }, |
| 25071 | + "logLocationSettings": { |
| 25072 | + "oneOf": [ |
| 25073 | + { |
| 25074 | + "$ref": "#/definitions/LogLocationSettings" |
| 25075 | + }, |
| 25076 | + { |
| 25077 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 25078 | + } |
| 25079 | + ], |
| 25080 | + "description": "Log location settings." |
| 25081 | + } |
| 25082 | + }, |
| 25083 | + "required": [ |
| 25084 | + "logDestination" |
| 25085 | + ], |
| 25086 | + "description": "Log settings of script activity." |
| 25087 | + }, |
24880 | 25088 | "SecretBase": { |
24881 | 25089 | "type": "object", |
24882 | 25090 | "oneOf": [ |
|
0 commit comments