diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index 3995ed79e8ed..d33ae6666569 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -1103,7 +1103,7 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings -type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 7dbf978d2a5a..753d632f3246 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -1103,7 +1103,7 @@ type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLink type AzureBlobStorageLocation = original.AzureBlobStorageLocation type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings -type AzureDataExplorerCommand = original.AzureDataExplorerCommand +type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index c587e899070c..59b25301eaed 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -2210,7 +2210,7 @@ type BasicActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) - AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -2303,9 +2303,9 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) { err := json.Unmarshal(body, &la) return la, err case string(TypeAzureDataExplorerCommand): - var adec AzureDataExplorerCommand - err := json.Unmarshal(body, &adec) - return adec, err + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -2494,8 +2494,8 @@ func (a Activity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for Activity. -func (a Activity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for Activity. +func (a Activity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -7790,8 +7790,8 @@ func (ava AppendVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AppendVariableActivity. -func (ava AppendVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AppendVariableActivity. +func (ava AppendVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -13783,8 +13783,8 @@ func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []b return nil } -// AzureDataExplorerCommand azure Data Explorer command activity. -type AzureDataExplorerCommand struct { +// AzureDataExplorerCommandActivity azure Data Explorer command activity. +type AzureDataExplorerCommandActivity struct { // AzureDataExplorerCommandActivityTypeProperties - Azure Data Explorer command activity properties. *AzureDataExplorerCommandActivityTypeProperties `json:"typeProperties,omitempty"` // LinkedServiceName - Linked service reference. @@ -13805,227 +13805,227 @@ type AzureDataExplorerCommand struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) MarshalJSON() ([]byte, error) { - adec.Type = TypeAzureDataExplorerCommand +// MarshalJSON is the custom marshaler for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) MarshalJSON() ([]byte, error) { + adeca.Type = TypeAzureDataExplorerCommand objectMap := make(map[string]interface{}) - if adec.AzureDataExplorerCommandActivityTypeProperties != nil { - objectMap["typeProperties"] = adec.AzureDataExplorerCommandActivityTypeProperties + if adeca.AzureDataExplorerCommandActivityTypeProperties != nil { + objectMap["typeProperties"] = adeca.AzureDataExplorerCommandActivityTypeProperties } - if adec.LinkedServiceName != nil { - objectMap["linkedServiceName"] = adec.LinkedServiceName + if adeca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = adeca.LinkedServiceName } - if adec.Policy != nil { - objectMap["policy"] = adec.Policy + if adeca.Policy != nil { + objectMap["policy"] = adeca.Policy } - if adec.Name != nil { - objectMap["name"] = adec.Name + if adeca.Name != nil { + objectMap["name"] = adeca.Name } - if adec.Description != nil { - objectMap["description"] = adec.Description + if adeca.Description != nil { + objectMap["description"] = adeca.Description } - if adec.DependsOn != nil { - objectMap["dependsOn"] = adec.DependsOn + if adeca.DependsOn != nil { + objectMap["dependsOn"] = adeca.DependsOn } - if adec.UserProperties != nil { - objectMap["userProperties"] = adec.UserProperties + if adeca.UserProperties != nil { + objectMap["userProperties"] = adeca.UserProperties } - if adec.Type != "" { - objectMap["type"] = adec.Type + if adeca.Type != "" { + objectMap["type"] = adeca.Type } - for k, v := range adec.AdditionalProperties { + for k, v := range adeca.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { - return &adec, true +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return &adeca, true } -// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsDeleteActivity() (*DeleteActivity, bool) { +// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsCustomActivity() (*CustomActivity, bool) { +// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &adec, true +// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &adeca, true } -// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsFilterActivity() (*FilterActivity, bool) { +// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsControlActivity() (*ControlActivity, bool) { +// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommand. -func (adec AzureDataExplorerCommand) AsBasicActivity() (BasicActivity, bool) { - return &adec, true +// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity. +func (adeca AzureDataExplorerCommandActivity) AsBasicActivity() (BasicActivity, bool) { + return &adeca, true } -// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommand struct. -func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommandActivity struct. +func (adeca *AzureDataExplorerCommandActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -14040,7 +14040,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties + adeca.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties } case "linkedServiceName": if v != nil { @@ -14049,7 +14049,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.LinkedServiceName = &linkedServiceName + adeca.LinkedServiceName = &linkedServiceName } case "policy": if v != nil { @@ -14058,7 +14058,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Policy = &policy + adeca.Policy = &policy } default: if v != nil { @@ -14067,10 +14067,10 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - if adec.AdditionalProperties == nil { - adec.AdditionalProperties = make(map[string]interface{}) + if adeca.AdditionalProperties == nil { + adeca.AdditionalProperties = make(map[string]interface{}) } - adec.AdditionalProperties[k] = additionalProperties + adeca.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -14079,7 +14079,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Name = &name + adeca.Name = &name } case "description": if v != nil { @@ -14088,7 +14088,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Description = &description + adeca.Description = &description } case "dependsOn": if v != nil { @@ -14097,7 +14097,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.DependsOn = &dependsOn + adeca.DependsOn = &dependsOn } case "userProperties": if v != nil { @@ -14106,7 +14106,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.UserProperties = &userProperties + adeca.UserProperties = &userProperties } case "type": if v != nil { @@ -14115,7 +14115,7 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { if err != nil { return err } - adec.Type = typeVar + adeca.Type = typeVar } } } @@ -14127,6 +14127,8 @@ func (adec *AzureDataExplorerCommand) UnmarshalJSON(body []byte) error { type AzureDataExplorerCommandActivityTypeProperties struct { // Command - A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). Command interface{} `json:"command,omitempty"` + // CommandTimeout - Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) + CommandTimeout interface{} `json:"commandTimeout,omitempty"` } // AzureDataExplorerDatasetTypeProperties azure Data Explorer (Kusto) dataset properties. @@ -19516,8 +19518,8 @@ func (afa AzureFunctionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureFunctionActivity. -func (afa AzureFunctionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureFunctionActivity. +func (afa AzureFunctionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -21150,8 +21152,8 @@ func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -22196,8 +22198,8 @@ func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -43806,8 +43808,8 @@ func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -44129,8 +44131,8 @@ func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -50359,8 +50361,8 @@ func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -51903,8 +51905,8 @@ func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52268,8 +52270,8 @@ func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52618,8 +52620,8 @@ func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, b return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -52968,8 +52970,8 @@ func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -56586,8 +56588,8 @@ func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -69519,8 +69521,8 @@ func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -69866,8 +69868,8 @@ func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -70182,7 +70184,7 @@ type BasicExecutionActivity interface { AsGetMetadataActivity() (*GetMetadataActivity, bool) AsWebActivity() (*WebActivity, bool) AsLookupActivity() (*LookupActivity, bool) - AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) AsDeleteActivity() (*DeleteActivity, bool) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) AsCustomActivity() (*CustomActivity, bool) @@ -70265,9 +70267,9 @@ func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error err := json.Unmarshal(body, &la) return la, err case string(TypeAzureDataExplorerCommand): - var adec AzureDataExplorerCommand - err := json.Unmarshal(body, &adec) - return adec, err + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, err case string(TypeDelete): var da DeleteActivity err := json.Unmarshal(body, &da) @@ -70414,8 +70416,8 @@ func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -73880,8 +73882,8 @@ func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -74200,8 +74202,8 @@ func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -75605,8 +75607,8 @@ func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -84574,8 +84576,8 @@ func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -85657,8 +85659,8 @@ func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, boo return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87013,8 +87015,8 @@ func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87393,8 +87395,8 @@ func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -87783,8 +87785,8 @@ func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -93946,8 +93948,8 @@ func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -103084,8 +103086,8 @@ func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) { return &la, true } -// AsAzureDataExplorerCommand is the BasicActivity implementation for LookupActivity. -func (la LookupActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -163463,8 +163465,8 @@ func (sva SetVariableActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for SetVariableActivity. -func (sva SetVariableActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SetVariableActivity. +func (sva SetVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -171713,8 +171715,8 @@ func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivit return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -180629,8 +180631,8 @@ func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -181028,8 +181030,8 @@ func (va ValidationActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183051,8 +183053,8 @@ func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183379,8 +183381,8 @@ func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } @@ -183996,8 +183998,8 @@ func (wha WebHookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommand is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureDataExplorerCommand() (*AzureDataExplorerCommand, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false }