diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go index 47ecdce93677..c17c33ad1de2 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/activityruns.go @@ -101,6 +101,9 @@ func (client ActivityRunsClient) ListByPipelineRun(ctx context.Context, resource if err != nil { err = autorest.NewErrorWithError(err, "datafactory.ActivityRunsClient", "ListByPipelineRun", resp, "Failure responding to request") } + if result.arlr.hasNextLink() && result.arlr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -149,7 +152,6 @@ func (client ActivityRunsClient) ListByPipelineRunSender(req *http.Request) (*ht func (client ActivityRunsClient) ListByPipelineRunResponder(resp *http.Response) (result ActivityRunsListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go index 9ec04a829ad9..285d1256da20 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/datasets.go @@ -145,7 +145,6 @@ func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Resp func (client DatasetsClient) CreateOrUpdateResponder(resp *http.Response) (result DatasetResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -239,7 +238,6 @@ func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, er func (client DatasetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -332,7 +330,6 @@ func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error func (client DatasetsClient) GetResponder(resp *http.Response) (result DatasetResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -385,6 +382,9 @@ func (client DatasetsClient) ListByFactory(ctx context.Context, resourceGroupNam if err != nil { err = autorest.NewErrorWithError(err, "datafactory.DatasetsClient", "ListByFactory", resp, "Failure responding to request") } + if result.dlr.hasNextLink() && result.dlr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -421,7 +421,6 @@ func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Respo func (client DatasetsClient) ListByFactoryResponder(resp *http.Response) (result DatasetListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/enums.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/enums.go new file mode 100644 index 000000000000..e12b1b8abb8e --- /dev/null +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/enums.go @@ -0,0 +1,1512 @@ +package datafactory + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// AuthenticationType enumerates the values for authentication type. +type AuthenticationType string + +const ( + // AuthenticationTypeAnonymous ... + AuthenticationTypeAnonymous AuthenticationType = "Anonymous" + // AuthenticationTypeBasic ... + AuthenticationTypeBasic AuthenticationType = "Basic" + // AuthenticationTypeClientCertificate ... + AuthenticationTypeClientCertificate AuthenticationType = "ClientCertificate" + // AuthenticationTypeWebLinkedServiceTypeProperties ... + AuthenticationTypeWebLinkedServiceTypeProperties AuthenticationType = "WebLinkedServiceTypeProperties" +) + +// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. +func PossibleAuthenticationTypeValues() []AuthenticationType { + return []AuthenticationType{AuthenticationTypeAnonymous, AuthenticationTypeBasic, AuthenticationTypeClientCertificate, AuthenticationTypeWebLinkedServiceTypeProperties} +} + +// AuthorizationType enumerates the values for authorization type. +type AuthorizationType string + +const ( + // AuthorizationTypeKey ... + AuthorizationTypeKey AuthorizationType = "Key" + // AuthorizationTypeLinkedIntegrationRuntimeProperties ... + AuthorizationTypeLinkedIntegrationRuntimeProperties AuthorizationType = "LinkedIntegrationRuntimeProperties" + // AuthorizationTypeRBAC ... + AuthorizationTypeRBAC AuthorizationType = "RBAC" +) + +// PossibleAuthorizationTypeValues returns an array of possible values for the AuthorizationType const type. +func PossibleAuthorizationTypeValues() []AuthorizationType { + return []AuthorizationType{AuthorizationTypeKey, AuthorizationTypeLinkedIntegrationRuntimeProperties, AuthorizationTypeRBAC} +} + +// BlobEventTypes enumerates the values for blob event types. +type BlobEventTypes string + +const ( + // MicrosoftStorageBlobCreated ... + MicrosoftStorageBlobCreated BlobEventTypes = "Microsoft.Storage.BlobCreated" + // MicrosoftStorageBlobDeleted ... + MicrosoftStorageBlobDeleted BlobEventTypes = "Microsoft.Storage.BlobDeleted" +) + +// PossibleBlobEventTypesValues returns an array of possible values for the BlobEventTypes const type. +func PossibleBlobEventTypesValues() []BlobEventTypes { + return []BlobEventTypes{MicrosoftStorageBlobCreated, MicrosoftStorageBlobDeleted} +} + +// DayOfWeek enumerates the values for day of week. +type DayOfWeek string + +const ( + // Friday ... + Friday DayOfWeek = "Friday" + // Monday ... + Monday DayOfWeek = "Monday" + // Saturday ... + Saturday DayOfWeek = "Saturday" + // Sunday ... + Sunday DayOfWeek = "Sunday" + // Thursday ... + Thursday DayOfWeek = "Thursday" + // Tuesday ... + Tuesday DayOfWeek = "Tuesday" + // Wednesday ... + Wednesday DayOfWeek = "Wednesday" +) + +// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type. +func PossibleDayOfWeekValues() []DayOfWeek { + return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday} +} + +// DaysOfWeek enumerates the values for days of week. +type DaysOfWeek string + +const ( + // DaysOfWeekFriday ... + DaysOfWeekFriday DaysOfWeek = "Friday" + // DaysOfWeekMonday ... + DaysOfWeekMonday DaysOfWeek = "Monday" + // DaysOfWeekSaturday ... + DaysOfWeekSaturday DaysOfWeek = "Saturday" + // DaysOfWeekSunday ... + DaysOfWeekSunday DaysOfWeek = "Sunday" + // DaysOfWeekThursday ... + DaysOfWeekThursday DaysOfWeek = "Thursday" + // DaysOfWeekTuesday ... + DaysOfWeekTuesday DaysOfWeek = "Tuesday" + // DaysOfWeekWednesday ... + DaysOfWeekWednesday DaysOfWeek = "Wednesday" +) + +// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type. +func PossibleDaysOfWeekValues() []DaysOfWeek { + return []DaysOfWeek{DaysOfWeekFriday, DaysOfWeekMonday, DaysOfWeekSaturday, DaysOfWeekSunday, DaysOfWeekThursday, DaysOfWeekTuesday, DaysOfWeekWednesday} +} + +// Db2AuthenticationType enumerates the values for db 2 authentication type. +type Db2AuthenticationType string + +const ( + // Basic ... + Basic Db2AuthenticationType = "Basic" +) + +// PossibleDb2AuthenticationTypeValues returns an array of possible values for the Db2AuthenticationType const type. +func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType { + return []Db2AuthenticationType{Basic} +} + +// DependencyCondition enumerates the values for dependency condition. +type DependencyCondition string + +const ( + // Completed ... + Completed DependencyCondition = "Completed" + // Failed ... + Failed DependencyCondition = "Failed" + // Skipped ... + Skipped DependencyCondition = "Skipped" + // Succeeded ... + Succeeded DependencyCondition = "Succeeded" +) + +// PossibleDependencyConditionValues returns an array of possible values for the DependencyCondition const type. +func PossibleDependencyConditionValues() []DependencyCondition { + return []DependencyCondition{Completed, Failed, Skipped, Succeeded} +} + +// FtpAuthenticationType enumerates the values for ftp authentication type. +type FtpAuthenticationType string + +const ( + // FtpAuthenticationTypeAnonymous ... + FtpAuthenticationTypeAnonymous FtpAuthenticationType = "Anonymous" + // FtpAuthenticationTypeBasic ... + FtpAuthenticationTypeBasic FtpAuthenticationType = "Basic" +) + +// PossibleFtpAuthenticationTypeValues returns an array of possible values for the FtpAuthenticationType const type. +func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { + return []FtpAuthenticationType{FtpAuthenticationTypeAnonymous, FtpAuthenticationTypeBasic} +} + +// GoogleBigQueryAuthenticationType enumerates the values for google big query authentication type. +type GoogleBigQueryAuthenticationType string + +const ( + // ServiceAuthentication ... + ServiceAuthentication GoogleBigQueryAuthenticationType = "ServiceAuthentication" + // UserAuthentication ... + UserAuthentication GoogleBigQueryAuthenticationType = "UserAuthentication" +) + +// PossibleGoogleBigQueryAuthenticationTypeValues returns an array of possible values for the GoogleBigQueryAuthenticationType const type. +func PossibleGoogleBigQueryAuthenticationTypeValues() []GoogleBigQueryAuthenticationType { + return []GoogleBigQueryAuthenticationType{ServiceAuthentication, UserAuthentication} +} + +// HBaseAuthenticationType enumerates the values for h base authentication type. +type HBaseAuthenticationType string + +const ( + // HBaseAuthenticationTypeAnonymous ... + HBaseAuthenticationTypeAnonymous HBaseAuthenticationType = "Anonymous" + // HBaseAuthenticationTypeBasic ... + HBaseAuthenticationTypeBasic HBaseAuthenticationType = "Basic" +) + +// PossibleHBaseAuthenticationTypeValues returns an array of possible values for the HBaseAuthenticationType const type. +func PossibleHBaseAuthenticationTypeValues() []HBaseAuthenticationType { + return []HBaseAuthenticationType{HBaseAuthenticationTypeAnonymous, HBaseAuthenticationTypeBasic} +} + +// HDInsightActivityDebugInfoOption enumerates the values for hd insight activity debug info option. +type HDInsightActivityDebugInfoOption string + +const ( + // Always ... + Always HDInsightActivityDebugInfoOption = "Always" + // Failure ... + Failure HDInsightActivityDebugInfoOption = "Failure" + // None ... + None HDInsightActivityDebugInfoOption = "None" +) + +// PossibleHDInsightActivityDebugInfoOptionValues returns an array of possible values for the HDInsightActivityDebugInfoOption const type. +func PossibleHDInsightActivityDebugInfoOptionValues() []HDInsightActivityDebugInfoOption { + return []HDInsightActivityDebugInfoOption{Always, Failure, None} +} + +// HiveAuthenticationType enumerates the values for hive authentication type. +type HiveAuthenticationType string + +const ( + // Anonymous ... + Anonymous HiveAuthenticationType = "Anonymous" + // Username ... + Username HiveAuthenticationType = "Username" + // UsernameAndPassword ... + UsernameAndPassword HiveAuthenticationType = "UsernameAndPassword" + // WindowsAzureHDInsightService ... + WindowsAzureHDInsightService HiveAuthenticationType = "WindowsAzureHDInsightService" +) + +// PossibleHiveAuthenticationTypeValues returns an array of possible values for the HiveAuthenticationType const type. +func PossibleHiveAuthenticationTypeValues() []HiveAuthenticationType { + return []HiveAuthenticationType{Anonymous, Username, UsernameAndPassword, WindowsAzureHDInsightService} +} + +// HiveServerType enumerates the values for hive server type. +type HiveServerType string + +const ( + // HiveServer1 ... + HiveServer1 HiveServerType = "HiveServer1" + // HiveServer2 ... + HiveServer2 HiveServerType = "HiveServer2" + // HiveThriftServer ... + HiveThriftServer HiveServerType = "HiveThriftServer" +) + +// PossibleHiveServerTypeValues returns an array of possible values for the HiveServerType const type. +func PossibleHiveServerTypeValues() []HiveServerType { + return []HiveServerType{HiveServer1, HiveServer2, HiveThriftServer} +} + +// HiveThriftTransportProtocol enumerates the values for hive thrift transport protocol. +type HiveThriftTransportProtocol string + +const ( + // Binary ... + Binary HiveThriftTransportProtocol = "Binary" + // HTTP ... + HTTP HiveThriftTransportProtocol = "HTTP " + // SASL ... + SASL HiveThriftTransportProtocol = "SASL" +) + +// PossibleHiveThriftTransportProtocolValues returns an array of possible values for the HiveThriftTransportProtocol const type. +func PossibleHiveThriftTransportProtocolValues() []HiveThriftTransportProtocol { + return []HiveThriftTransportProtocol{Binary, HTTP, SASL} +} + +// HTTPAuthenticationType enumerates the values for http authentication type. +type HTTPAuthenticationType string + +const ( + // HTTPAuthenticationTypeAnonymous ... + HTTPAuthenticationTypeAnonymous HTTPAuthenticationType = "Anonymous" + // HTTPAuthenticationTypeBasic ... + HTTPAuthenticationTypeBasic HTTPAuthenticationType = "Basic" + // HTTPAuthenticationTypeClientCertificate ... + HTTPAuthenticationTypeClientCertificate HTTPAuthenticationType = "ClientCertificate" + // HTTPAuthenticationTypeDigest ... + HTTPAuthenticationTypeDigest HTTPAuthenticationType = "Digest" + // HTTPAuthenticationTypeWindows ... + HTTPAuthenticationTypeWindows HTTPAuthenticationType = "Windows" +) + +// PossibleHTTPAuthenticationTypeValues returns an array of possible values for the HTTPAuthenticationType const type. +func PossibleHTTPAuthenticationTypeValues() []HTTPAuthenticationType { + return []HTTPAuthenticationType{HTTPAuthenticationTypeAnonymous, HTTPAuthenticationTypeBasic, HTTPAuthenticationTypeClientCertificate, HTTPAuthenticationTypeDigest, HTTPAuthenticationTypeWindows} +} + +// ImpalaAuthenticationType enumerates the values for impala authentication type. +type ImpalaAuthenticationType string + +const ( + // ImpalaAuthenticationTypeAnonymous ... + ImpalaAuthenticationTypeAnonymous ImpalaAuthenticationType = "Anonymous" + // ImpalaAuthenticationTypeSASLUsername ... + ImpalaAuthenticationTypeSASLUsername ImpalaAuthenticationType = "SASLUsername" + // ImpalaAuthenticationTypeUsernameAndPassword ... + ImpalaAuthenticationTypeUsernameAndPassword ImpalaAuthenticationType = "UsernameAndPassword" +) + +// PossibleImpalaAuthenticationTypeValues returns an array of possible values for the ImpalaAuthenticationType const type. +func PossibleImpalaAuthenticationTypeValues() []ImpalaAuthenticationType { + return []ImpalaAuthenticationType{ImpalaAuthenticationTypeAnonymous, ImpalaAuthenticationTypeSASLUsername, ImpalaAuthenticationTypeUsernameAndPassword} +} + +// IntegrationRuntimeAuthKeyName enumerates the values for integration runtime auth key name. +type IntegrationRuntimeAuthKeyName string + +const ( + // AuthKey1 ... + AuthKey1 IntegrationRuntimeAuthKeyName = "authKey1" + // AuthKey2 ... + AuthKey2 IntegrationRuntimeAuthKeyName = "authKey2" +) + +// PossibleIntegrationRuntimeAuthKeyNameValues returns an array of possible values for the IntegrationRuntimeAuthKeyName const type. +func PossibleIntegrationRuntimeAuthKeyNameValues() []IntegrationRuntimeAuthKeyName { + return []IntegrationRuntimeAuthKeyName{AuthKey1, AuthKey2} +} + +// IntegrationRuntimeAutoUpdate enumerates the values for integration runtime auto update. +type IntegrationRuntimeAutoUpdate string + +const ( + // Off ... + Off IntegrationRuntimeAutoUpdate = "Off" + // On ... + On IntegrationRuntimeAutoUpdate = "On" +) + +// PossibleIntegrationRuntimeAutoUpdateValues returns an array of possible values for the IntegrationRuntimeAutoUpdate const type. +func PossibleIntegrationRuntimeAutoUpdateValues() []IntegrationRuntimeAutoUpdate { + return []IntegrationRuntimeAutoUpdate{Off, On} +} + +// IntegrationRuntimeEdition enumerates the values for integration runtime edition. +type IntegrationRuntimeEdition string + +const ( + // Enterprise ... + Enterprise IntegrationRuntimeEdition = "Enterprise" + // Standard ... + Standard IntegrationRuntimeEdition = "Standard" +) + +// PossibleIntegrationRuntimeEditionValues returns an array of possible values for the IntegrationRuntimeEdition const type. +func PossibleIntegrationRuntimeEditionValues() []IntegrationRuntimeEdition { + return []IntegrationRuntimeEdition{Enterprise, Standard} +} + +// IntegrationRuntimeEntityReferenceType enumerates the values for integration runtime entity reference type. +type IntegrationRuntimeEntityReferenceType string + +const ( + // IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference ... + IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference IntegrationRuntimeEntityReferenceType = "IntegrationRuntimeReference" + // IntegrationRuntimeEntityReferenceTypeLinkedServiceReference ... + IntegrationRuntimeEntityReferenceTypeLinkedServiceReference IntegrationRuntimeEntityReferenceType = "LinkedServiceReference" +) + +// PossibleIntegrationRuntimeEntityReferenceTypeValues returns an array of possible values for the IntegrationRuntimeEntityReferenceType const type. +func PossibleIntegrationRuntimeEntityReferenceTypeValues() []IntegrationRuntimeEntityReferenceType { + return []IntegrationRuntimeEntityReferenceType{IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference, IntegrationRuntimeEntityReferenceTypeLinkedServiceReference} +} + +// IntegrationRuntimeInternalChannelEncryptionMode enumerates the values for integration runtime internal +// channel encryption mode. +type IntegrationRuntimeInternalChannelEncryptionMode string + +const ( + // NotEncrypted ... + NotEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "NotEncrypted" + // NotSet ... + NotSet IntegrationRuntimeInternalChannelEncryptionMode = "NotSet" + // SslEncrypted ... + SslEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "SslEncrypted" +) + +// PossibleIntegrationRuntimeInternalChannelEncryptionModeValues returns an array of possible values for the IntegrationRuntimeInternalChannelEncryptionMode const type. +func PossibleIntegrationRuntimeInternalChannelEncryptionModeValues() []IntegrationRuntimeInternalChannelEncryptionMode { + return []IntegrationRuntimeInternalChannelEncryptionMode{NotEncrypted, NotSet, SslEncrypted} +} + +// IntegrationRuntimeLicenseType enumerates the values for integration runtime license type. +type IntegrationRuntimeLicenseType string + +const ( + // BasePrice ... + BasePrice IntegrationRuntimeLicenseType = "BasePrice" + // LicenseIncluded ... + LicenseIncluded IntegrationRuntimeLicenseType = "LicenseIncluded" +) + +// PossibleIntegrationRuntimeLicenseTypeValues returns an array of possible values for the IntegrationRuntimeLicenseType const type. +func PossibleIntegrationRuntimeLicenseTypeValues() []IntegrationRuntimeLicenseType { + return []IntegrationRuntimeLicenseType{BasePrice, LicenseIncluded} +} + +// IntegrationRuntimeState enumerates the values for integration runtime state. +type IntegrationRuntimeState string + +const ( + // Initial ... + Initial IntegrationRuntimeState = "Initial" + // Limited ... + Limited IntegrationRuntimeState = "Limited" + // NeedRegistration ... + NeedRegistration IntegrationRuntimeState = "NeedRegistration" + // Offline ... + Offline IntegrationRuntimeState = "Offline" + // Online ... + Online IntegrationRuntimeState = "Online" + // Started ... + Started IntegrationRuntimeState = "Started" + // Starting ... + Starting IntegrationRuntimeState = "Starting" + // Stopped ... + Stopped IntegrationRuntimeState = "Stopped" + // Stopping ... + Stopping IntegrationRuntimeState = "Stopping" +) + +// PossibleIntegrationRuntimeStateValues returns an array of possible values for the IntegrationRuntimeState const type. +func PossibleIntegrationRuntimeStateValues() []IntegrationRuntimeState { + return []IntegrationRuntimeState{Initial, Limited, NeedRegistration, Offline, Online, Started, Starting, Stopped, Stopping} +} + +// IntegrationRuntimeType enumerates the values for integration runtime type. +type IntegrationRuntimeType string + +const ( + // Managed ... + Managed IntegrationRuntimeType = "Managed" + // SelfHosted ... + SelfHosted IntegrationRuntimeType = "SelfHosted" +) + +// PossibleIntegrationRuntimeTypeValues returns an array of possible values for the IntegrationRuntimeType const type. +func PossibleIntegrationRuntimeTypeValues() []IntegrationRuntimeType { + return []IntegrationRuntimeType{Managed, SelfHosted} +} + +// IntegrationRuntimeUpdateResult enumerates the values for integration runtime update result. +type IntegrationRuntimeUpdateResult string + +const ( + // Fail ... + Fail IntegrationRuntimeUpdateResult = "Fail" + // Succeed ... + Succeed IntegrationRuntimeUpdateResult = "Succeed" +) + +// PossibleIntegrationRuntimeUpdateResultValues returns an array of possible values for the IntegrationRuntimeUpdateResult const type. +func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateResult { + return []IntegrationRuntimeUpdateResult{Fail, Succeed} +} + +// JSONFormatFilePattern enumerates the values for json format file pattern. +type JSONFormatFilePattern string + +const ( + // ArrayOfObjects ... + ArrayOfObjects JSONFormatFilePattern = "arrayOfObjects" + // SetOfObjects ... + SetOfObjects JSONFormatFilePattern = "setOfObjects" +) + +// PossibleJSONFormatFilePatternValues returns an array of possible values for the JSONFormatFilePattern const type. +func PossibleJSONFormatFilePatternValues() []JSONFormatFilePattern { + return []JSONFormatFilePattern{ArrayOfObjects, SetOfObjects} +} + +// ManagedIntegrationRuntimeNodeStatus enumerates the values for managed integration runtime node status. +type ManagedIntegrationRuntimeNodeStatus string + +const ( + // ManagedIntegrationRuntimeNodeStatusAvailable ... + ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = "Available" + // ManagedIntegrationRuntimeNodeStatusRecycling ... + ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = "Recycling" + // ManagedIntegrationRuntimeNodeStatusStarting ... + ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = "Starting" + // ManagedIntegrationRuntimeNodeStatusUnavailable ... + ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable" +) + +// PossibleManagedIntegrationRuntimeNodeStatusValues returns an array of possible values for the ManagedIntegrationRuntimeNodeStatus const type. +func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus { + return []ManagedIntegrationRuntimeNodeStatus{ManagedIntegrationRuntimeNodeStatusAvailable, ManagedIntegrationRuntimeNodeStatusRecycling, ManagedIntegrationRuntimeNodeStatusStarting, ManagedIntegrationRuntimeNodeStatusUnavailable} +} + +// MongoDbAuthenticationType enumerates the values for mongo db authentication type. +type MongoDbAuthenticationType string + +const ( + // MongoDbAuthenticationTypeAnonymous ... + MongoDbAuthenticationTypeAnonymous MongoDbAuthenticationType = "Anonymous" + // MongoDbAuthenticationTypeBasic ... + MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = "Basic" +) + +// PossibleMongoDbAuthenticationTypeValues returns an array of possible values for the MongoDbAuthenticationType const type. +func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType { + return []MongoDbAuthenticationType{MongoDbAuthenticationTypeAnonymous, MongoDbAuthenticationTypeBasic} +} + +// ODataAuthenticationType enumerates the values for o data authentication type. +type ODataAuthenticationType string + +const ( + // ODataAuthenticationTypeAnonymous ... + ODataAuthenticationTypeAnonymous ODataAuthenticationType = "Anonymous" + // ODataAuthenticationTypeBasic ... + ODataAuthenticationTypeBasic ODataAuthenticationType = "Basic" +) + +// PossibleODataAuthenticationTypeValues returns an array of possible values for the ODataAuthenticationType const type. +func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { + return []ODataAuthenticationType{ODataAuthenticationTypeAnonymous, ODataAuthenticationTypeBasic} +} + +// ParameterType enumerates the values for parameter type. +type ParameterType string + +const ( + // ParameterTypeArray ... + ParameterTypeArray ParameterType = "Array" + // ParameterTypeBool ... + ParameterTypeBool ParameterType = "Bool" + // ParameterTypeFloat ... + ParameterTypeFloat ParameterType = "Float" + // ParameterTypeInt ... + ParameterTypeInt ParameterType = "Int" + // ParameterTypeObject ... + ParameterTypeObject ParameterType = "Object" + // ParameterTypeSecureString ... + ParameterTypeSecureString ParameterType = "SecureString" + // ParameterTypeString ... + ParameterTypeString ParameterType = "String" +) + +// PossibleParameterTypeValues returns an array of possible values for the ParameterType const type. +func PossibleParameterTypeValues() []ParameterType { + return []ParameterType{ParameterTypeArray, ParameterTypeBool, ParameterTypeFloat, ParameterTypeInt, ParameterTypeObject, ParameterTypeSecureString, ParameterTypeString} +} + +// PhoenixAuthenticationType enumerates the values for phoenix authentication type. +type PhoenixAuthenticationType string + +const ( + // PhoenixAuthenticationTypeAnonymous ... + PhoenixAuthenticationTypeAnonymous PhoenixAuthenticationType = "Anonymous" + // PhoenixAuthenticationTypeUsernameAndPassword ... + PhoenixAuthenticationTypeUsernameAndPassword PhoenixAuthenticationType = "UsernameAndPassword" + // PhoenixAuthenticationTypeWindowsAzureHDInsightService ... + PhoenixAuthenticationTypeWindowsAzureHDInsightService PhoenixAuthenticationType = "WindowsAzureHDInsightService" +) + +// PossiblePhoenixAuthenticationTypeValues returns an array of possible values for the PhoenixAuthenticationType const type. +func PossiblePhoenixAuthenticationTypeValues() []PhoenixAuthenticationType { + return []PhoenixAuthenticationType{PhoenixAuthenticationTypeAnonymous, PhoenixAuthenticationTypeUsernameAndPassword, PhoenixAuthenticationTypeWindowsAzureHDInsightService} +} + +// PipelineRunQueryFilterOperand enumerates the values for pipeline run query filter operand. +type PipelineRunQueryFilterOperand string + +const ( + // PipelineName ... + PipelineName PipelineRunQueryFilterOperand = "PipelineName" + // RunEnd ... + RunEnd PipelineRunQueryFilterOperand = "RunEnd" + // RunStart ... + RunStart PipelineRunQueryFilterOperand = "RunStart" + // Status ... + Status PipelineRunQueryFilterOperand = "Status" +) + +// PossiblePipelineRunQueryFilterOperandValues returns an array of possible values for the PipelineRunQueryFilterOperand const type. +func PossiblePipelineRunQueryFilterOperandValues() []PipelineRunQueryFilterOperand { + return []PipelineRunQueryFilterOperand{PipelineName, RunEnd, RunStart, Status} +} + +// PipelineRunQueryFilterOperator enumerates the values for pipeline run query filter operator. +type PipelineRunQueryFilterOperator string + +const ( + // Equals ... + Equals PipelineRunQueryFilterOperator = "Equals" + // In ... + In PipelineRunQueryFilterOperator = "In" + // NotEquals ... + NotEquals PipelineRunQueryFilterOperator = "NotEquals" + // NotIn ... + NotIn PipelineRunQueryFilterOperator = "NotIn" +) + +// PossiblePipelineRunQueryFilterOperatorValues returns an array of possible values for the PipelineRunQueryFilterOperator const type. +func PossiblePipelineRunQueryFilterOperatorValues() []PipelineRunQueryFilterOperator { + return []PipelineRunQueryFilterOperator{Equals, In, NotEquals, NotIn} +} + +// PipelineRunQueryOrder enumerates the values for pipeline run query order. +type PipelineRunQueryOrder string + +const ( + // ASC ... + ASC PipelineRunQueryOrder = "ASC" + // DESC ... + DESC PipelineRunQueryOrder = "DESC" +) + +// PossiblePipelineRunQueryOrderValues returns an array of possible values for the PipelineRunQueryOrder const type. +func PossiblePipelineRunQueryOrderValues() []PipelineRunQueryOrder { + return []PipelineRunQueryOrder{ASC, DESC} +} + +// PipelineRunQueryOrderByField enumerates the values for pipeline run query order by field. +type PipelineRunQueryOrderByField string + +const ( + // PipelineRunQueryOrderByFieldRunEnd ... + PipelineRunQueryOrderByFieldRunEnd PipelineRunQueryOrderByField = "RunEnd" + // PipelineRunQueryOrderByFieldRunStart ... + PipelineRunQueryOrderByFieldRunStart PipelineRunQueryOrderByField = "RunStart" +) + +// PossiblePipelineRunQueryOrderByFieldValues returns an array of possible values for the PipelineRunQueryOrderByField const type. +func PossiblePipelineRunQueryOrderByFieldValues() []PipelineRunQueryOrderByField { + return []PipelineRunQueryOrderByField{PipelineRunQueryOrderByFieldRunEnd, PipelineRunQueryOrderByFieldRunStart} +} + +// PrestoAuthenticationType enumerates the values for presto authentication type. +type PrestoAuthenticationType string + +const ( + // PrestoAuthenticationTypeAnonymous ... + PrestoAuthenticationTypeAnonymous PrestoAuthenticationType = "Anonymous" + // PrestoAuthenticationTypeLDAP ... + PrestoAuthenticationTypeLDAP PrestoAuthenticationType = "LDAP" +) + +// PossiblePrestoAuthenticationTypeValues returns an array of possible values for the PrestoAuthenticationType const type. +func PossiblePrestoAuthenticationTypeValues() []PrestoAuthenticationType { + return []PrestoAuthenticationType{PrestoAuthenticationTypeAnonymous, PrestoAuthenticationTypeLDAP} +} + +// RecurrenceFrequency enumerates the values for recurrence frequency. +type RecurrenceFrequency string + +const ( + // Day ... + Day RecurrenceFrequency = "Day" + // Hour ... + Hour RecurrenceFrequency = "Hour" + // Minute ... + Minute RecurrenceFrequency = "Minute" + // Month ... + Month RecurrenceFrequency = "Month" + // NotSpecified ... + NotSpecified RecurrenceFrequency = "NotSpecified" + // Week ... + Week RecurrenceFrequency = "Week" + // Year ... + Year RecurrenceFrequency = "Year" +) + +// PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type. +func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency { + return []RecurrenceFrequency{Day, Hour, Minute, Month, NotSpecified, Week, Year} +} + +// SapHanaAuthenticationType enumerates the values for sap hana authentication type. +type SapHanaAuthenticationType string + +const ( + // SapHanaAuthenticationTypeBasic ... + SapHanaAuthenticationTypeBasic SapHanaAuthenticationType = "Basic" + // SapHanaAuthenticationTypeWindows ... + SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = "Windows" +) + +// PossibleSapHanaAuthenticationTypeValues returns an array of possible values for the SapHanaAuthenticationType const type. +func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType { + return []SapHanaAuthenticationType{SapHanaAuthenticationTypeBasic, SapHanaAuthenticationTypeWindows} +} + +// SelfHostedIntegrationRuntimeNodeStatus enumerates the values for self hosted integration runtime node +// status. +type SelfHostedIntegrationRuntimeNodeStatus string + +const ( + // SelfHostedIntegrationRuntimeNodeStatusInitializeFailed ... + SelfHostedIntegrationRuntimeNodeStatusInitializeFailed SelfHostedIntegrationRuntimeNodeStatus = "InitializeFailed" + // SelfHostedIntegrationRuntimeNodeStatusInitializing ... + SelfHostedIntegrationRuntimeNodeStatusInitializing SelfHostedIntegrationRuntimeNodeStatus = "Initializing" + // SelfHostedIntegrationRuntimeNodeStatusLimited ... + SelfHostedIntegrationRuntimeNodeStatusLimited SelfHostedIntegrationRuntimeNodeStatus = "Limited" + // SelfHostedIntegrationRuntimeNodeStatusNeedRegistration ... + SelfHostedIntegrationRuntimeNodeStatusNeedRegistration SelfHostedIntegrationRuntimeNodeStatus = "NeedRegistration" + // SelfHostedIntegrationRuntimeNodeStatusOffline ... + SelfHostedIntegrationRuntimeNodeStatusOffline SelfHostedIntegrationRuntimeNodeStatus = "Offline" + // SelfHostedIntegrationRuntimeNodeStatusOnline ... + SelfHostedIntegrationRuntimeNodeStatusOnline SelfHostedIntegrationRuntimeNodeStatus = "Online" + // SelfHostedIntegrationRuntimeNodeStatusUpgrading ... + SelfHostedIntegrationRuntimeNodeStatusUpgrading SelfHostedIntegrationRuntimeNodeStatus = "Upgrading" +) + +// PossibleSelfHostedIntegrationRuntimeNodeStatusValues returns an array of possible values for the SelfHostedIntegrationRuntimeNodeStatus const type. +func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus { + return []SelfHostedIntegrationRuntimeNodeStatus{SelfHostedIntegrationRuntimeNodeStatusInitializeFailed, SelfHostedIntegrationRuntimeNodeStatusInitializing, SelfHostedIntegrationRuntimeNodeStatusLimited, SelfHostedIntegrationRuntimeNodeStatusNeedRegistration, SelfHostedIntegrationRuntimeNodeStatusOffline, SelfHostedIntegrationRuntimeNodeStatusOnline, SelfHostedIntegrationRuntimeNodeStatusUpgrading} +} + +// ServiceNowAuthenticationType enumerates the values for service now authentication type. +type ServiceNowAuthenticationType string + +const ( + // ServiceNowAuthenticationTypeBasic ... + ServiceNowAuthenticationTypeBasic ServiceNowAuthenticationType = "Basic" + // ServiceNowAuthenticationTypeOAuth2 ... + ServiceNowAuthenticationTypeOAuth2 ServiceNowAuthenticationType = "OAuth2" +) + +// PossibleServiceNowAuthenticationTypeValues returns an array of possible values for the ServiceNowAuthenticationType const type. +func PossibleServiceNowAuthenticationTypeValues() []ServiceNowAuthenticationType { + return []ServiceNowAuthenticationType{ServiceNowAuthenticationTypeBasic, ServiceNowAuthenticationTypeOAuth2} +} + +// SftpAuthenticationType enumerates the values for sftp authentication type. +type SftpAuthenticationType string + +const ( + // SftpAuthenticationTypeBasic ... + SftpAuthenticationTypeBasic SftpAuthenticationType = "Basic" + // SftpAuthenticationTypeSSHPublicKey ... + SftpAuthenticationTypeSSHPublicKey SftpAuthenticationType = "SshPublicKey" +) + +// PossibleSftpAuthenticationTypeValues returns an array of possible values for the SftpAuthenticationType const type. +func PossibleSftpAuthenticationTypeValues() []SftpAuthenticationType { + return []SftpAuthenticationType{SftpAuthenticationTypeBasic, SftpAuthenticationTypeSSHPublicKey} +} + +// SparkAuthenticationType enumerates the values for spark authentication type. +type SparkAuthenticationType string + +const ( + // SparkAuthenticationTypeAnonymous ... + SparkAuthenticationTypeAnonymous SparkAuthenticationType = "Anonymous" + // SparkAuthenticationTypeUsername ... + SparkAuthenticationTypeUsername SparkAuthenticationType = "Username" + // SparkAuthenticationTypeUsernameAndPassword ... + SparkAuthenticationTypeUsernameAndPassword SparkAuthenticationType = "UsernameAndPassword" + // SparkAuthenticationTypeWindowsAzureHDInsightService ... + SparkAuthenticationTypeWindowsAzureHDInsightService SparkAuthenticationType = "WindowsAzureHDInsightService" +) + +// PossibleSparkAuthenticationTypeValues returns an array of possible values for the SparkAuthenticationType const type. +func PossibleSparkAuthenticationTypeValues() []SparkAuthenticationType { + return []SparkAuthenticationType{SparkAuthenticationTypeAnonymous, SparkAuthenticationTypeUsername, SparkAuthenticationTypeUsernameAndPassword, SparkAuthenticationTypeWindowsAzureHDInsightService} +} + +// SparkServerType enumerates the values for spark server type. +type SparkServerType string + +const ( + // SharkServer ... + SharkServer SparkServerType = "SharkServer" + // SharkServer2 ... + SharkServer2 SparkServerType = "SharkServer2" + // SparkThriftServer ... + SparkThriftServer SparkServerType = "SparkThriftServer" +) + +// PossibleSparkServerTypeValues returns an array of possible values for the SparkServerType const type. +func PossibleSparkServerTypeValues() []SparkServerType { + return []SparkServerType{SharkServer, SharkServer2, SparkThriftServer} +} + +// SparkThriftTransportProtocol enumerates the values for spark thrift transport protocol. +type SparkThriftTransportProtocol string + +const ( + // SparkThriftTransportProtocolBinary ... + SparkThriftTransportProtocolBinary SparkThriftTransportProtocol = "Binary" + // SparkThriftTransportProtocolHTTP ... + SparkThriftTransportProtocolHTTP SparkThriftTransportProtocol = "HTTP " + // SparkThriftTransportProtocolSASL ... + SparkThriftTransportProtocolSASL SparkThriftTransportProtocol = "SASL" +) + +// PossibleSparkThriftTransportProtocolValues returns an array of possible values for the SparkThriftTransportProtocol const type. +func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol { + return []SparkThriftTransportProtocol{SparkThriftTransportProtocolBinary, SparkThriftTransportProtocolHTTP, SparkThriftTransportProtocolSASL} +} + +// SsisPackageLocationType enumerates the values for ssis package location type. +type SsisPackageLocationType string + +const ( + // File ... + File SsisPackageLocationType = "File" + // SSISDB ... + SSISDB SsisPackageLocationType = "SSISDB" +) + +// PossibleSsisPackageLocationTypeValues returns an array of possible values for the SsisPackageLocationType const type. +func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { + return []SsisPackageLocationType{File, SSISDB} +} + +// SybaseAuthenticationType enumerates the values for sybase authentication type. +type SybaseAuthenticationType string + +const ( + // SybaseAuthenticationTypeBasic ... + SybaseAuthenticationTypeBasic SybaseAuthenticationType = "Basic" + // SybaseAuthenticationTypeWindows ... + SybaseAuthenticationTypeWindows SybaseAuthenticationType = "Windows" +) + +// PossibleSybaseAuthenticationTypeValues returns an array of possible values for the SybaseAuthenticationType const type. +func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType { + return []SybaseAuthenticationType{SybaseAuthenticationTypeBasic, SybaseAuthenticationTypeWindows} +} + +// TeradataAuthenticationType enumerates the values for teradata authentication type. +type TeradataAuthenticationType string + +const ( + // TeradataAuthenticationTypeBasic ... + TeradataAuthenticationTypeBasic TeradataAuthenticationType = "Basic" + // TeradataAuthenticationTypeWindows ... + TeradataAuthenticationTypeWindows TeradataAuthenticationType = "Windows" +) + +// PossibleTeradataAuthenticationTypeValues returns an array of possible values for the TeradataAuthenticationType const type. +func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType { + return []TeradataAuthenticationType{TeradataAuthenticationTypeBasic, TeradataAuthenticationTypeWindows} +} + +// TriggerRunStatus enumerates the values for trigger run status. +type TriggerRunStatus string + +const ( + // TriggerRunStatusFailed ... + TriggerRunStatusFailed TriggerRunStatus = "Failed" + // TriggerRunStatusInprogress ... + TriggerRunStatusInprogress TriggerRunStatus = "Inprogress" + // TriggerRunStatusSucceeded ... + TriggerRunStatusSucceeded TriggerRunStatus = "Succeeded" +) + +// PossibleTriggerRunStatusValues returns an array of possible values for the TriggerRunStatus const type. +func PossibleTriggerRunStatusValues() []TriggerRunStatus { + return []TriggerRunStatus{TriggerRunStatusFailed, TriggerRunStatusInprogress, TriggerRunStatusSucceeded} +} + +// TriggerRuntimeState enumerates the values for trigger runtime state. +type TriggerRuntimeState string + +const ( + // TriggerRuntimeStateDisabled ... + TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled" + // TriggerRuntimeStateStarted ... + TriggerRuntimeStateStarted TriggerRuntimeState = "Started" + // TriggerRuntimeStateStopped ... + TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped" +) + +// PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type. +func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState { + return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped} +} + +// TumblingWindowFrequency enumerates the values for tumbling window frequency. +type TumblingWindowFrequency string + +const ( + // TumblingWindowFrequencyHour ... + TumblingWindowFrequencyHour TumblingWindowFrequency = "Hour" + // TumblingWindowFrequencyMinute ... + TumblingWindowFrequencyMinute TumblingWindowFrequency = "Minute" +) + +// PossibleTumblingWindowFrequencyValues returns an array of possible values for the TumblingWindowFrequency const type. +func PossibleTumblingWindowFrequencyValues() []TumblingWindowFrequency { + return []TumblingWindowFrequency{TumblingWindowFrequencyHour, TumblingWindowFrequencyMinute} +} + +// Type enumerates the values for type. +type Type string + +const ( + // TypeAzureKeyVaultSecret ... + TypeAzureKeyVaultSecret Type = "AzureKeyVaultSecret" + // TypeSecretBase ... + TypeSecretBase Type = "SecretBase" + // TypeSecureString ... + TypeSecureString Type = "SecureString" +) + +// PossibleTypeValues returns an array of possible values for the Type const type. +func PossibleTypeValues() []Type { + return []Type{TypeAzureKeyVaultSecret, TypeSecretBase, TypeSecureString} +} + +// TypeBasicActivity enumerates the values for type basic activity. +type TypeBasicActivity string + +const ( + // TypeActivity ... + TypeActivity TypeBasicActivity = "Activity" + // TypeAzureMLBatchExecution ... + TypeAzureMLBatchExecution TypeBasicActivity = "AzureMLBatchExecution" + // TypeAzureMLUpdateResource ... + TypeAzureMLUpdateResource TypeBasicActivity = "AzureMLUpdateResource" + // TypeContainer ... + TypeContainer TypeBasicActivity = "Container" + // TypeCopy ... + TypeCopy TypeBasicActivity = "Copy" + // TypeCustom ... + TypeCustom TypeBasicActivity = "Custom" + // TypeDatabricksNotebook ... + TypeDatabricksNotebook TypeBasicActivity = "DatabricksNotebook" + // TypeDataLakeAnalyticsUSQL ... + TypeDataLakeAnalyticsUSQL TypeBasicActivity = "DataLakeAnalyticsU-SQL" + // TypeExecutePipeline ... + TypeExecutePipeline TypeBasicActivity = "ExecutePipeline" + // TypeExecuteSSISPackage ... + TypeExecuteSSISPackage TypeBasicActivity = "ExecuteSSISPackage" + // TypeExecution ... + TypeExecution TypeBasicActivity = "Execution" + // TypeFilter ... + TypeFilter TypeBasicActivity = "Filter" + // TypeForEach ... + TypeForEach TypeBasicActivity = "ForEach" + // TypeGetMetadata ... + TypeGetMetadata TypeBasicActivity = "GetMetadata" + // TypeHDInsightHive ... + TypeHDInsightHive TypeBasicActivity = "HDInsightHive" + // TypeHDInsightMapReduce ... + TypeHDInsightMapReduce TypeBasicActivity = "HDInsightMapReduce" + // TypeHDInsightPig ... + TypeHDInsightPig TypeBasicActivity = "HDInsightPig" + // TypeHDInsightSpark ... + TypeHDInsightSpark TypeBasicActivity = "HDInsightSpark" + // TypeHDInsightStreaming ... + TypeHDInsightStreaming TypeBasicActivity = "HDInsightStreaming" + // TypeIfCondition ... + TypeIfCondition TypeBasicActivity = "IfCondition" + // TypeLookup ... + TypeLookup TypeBasicActivity = "Lookup" + // TypeSQLServerStoredProcedure ... + TypeSQLServerStoredProcedure TypeBasicActivity = "SqlServerStoredProcedure" + // TypeUntil ... + TypeUntil TypeBasicActivity = "Until" + // TypeWait ... + TypeWait TypeBasicActivity = "Wait" + // TypeWebActivity ... + TypeWebActivity TypeBasicActivity = "WebActivity" +) + +// PossibleTypeBasicActivityValues returns an array of possible values for the TypeBasicActivity const type. +func PossibleTypeBasicActivityValues() []TypeBasicActivity { + return []TypeBasicActivity{TypeActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDataLakeAnalyticsUSQL, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSQLServerStoredProcedure, TypeUntil, TypeWait, TypeWebActivity} +} + +// TypeBasicCopySink enumerates the values for type basic copy sink. +type TypeBasicCopySink string + +const ( + // TypeAzureDataLakeStoreSink ... + TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink" + // TypeAzureQueueSink ... + TypeAzureQueueSink TypeBasicCopySink = "AzureQueueSink" + // TypeAzureSearchIndexSink ... + TypeAzureSearchIndexSink TypeBasicCopySink = "AzureSearchIndexSink" + // TypeAzureTableSink ... + TypeAzureTableSink TypeBasicCopySink = "AzureTableSink" + // TypeBlobSink ... + TypeBlobSink TypeBasicCopySink = "BlobSink" + // TypeCopySink ... + TypeCopySink TypeBasicCopySink = "CopySink" + // TypeDocumentDbCollectionSink ... + TypeDocumentDbCollectionSink TypeBasicCopySink = "DocumentDbCollectionSink" + // TypeDynamicsSink ... + TypeDynamicsSink TypeBasicCopySink = "DynamicsSink" + // TypeFileSystemSink ... + TypeFileSystemSink TypeBasicCopySink = "FileSystemSink" + // TypeOdbcSink ... + TypeOdbcSink TypeBasicCopySink = "OdbcSink" + // TypeOracleSink ... + TypeOracleSink TypeBasicCopySink = "OracleSink" + // TypeSalesforceSink ... + TypeSalesforceSink TypeBasicCopySink = "SalesforceSink" + // TypeSapCloudForCustomerSink ... + TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink" + // TypeSQLDWSink ... + TypeSQLDWSink TypeBasicCopySink = "SqlDWSink" + // TypeSQLSink ... + TypeSQLSink TypeBasicCopySink = "SqlSink" +) + +// PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type. +func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink { + return []TypeBasicCopySink{TypeAzureDataLakeStoreSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureTableSink, TypeBlobSink, TypeCopySink, TypeDocumentDbCollectionSink, TypeDynamicsSink, TypeFileSystemSink, TypeOdbcSink, TypeOracleSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLSink} +} + +// TypeBasicCopySource enumerates the values for type basic copy source. +type TypeBasicCopySource string + +const ( + // TypeAmazonMWSSource ... + TypeAmazonMWSSource TypeBasicCopySource = "AmazonMWSSource" + // TypeAmazonRedshiftSource ... + TypeAmazonRedshiftSource TypeBasicCopySource = "AmazonRedshiftSource" + // TypeAzureDataLakeStoreSource ... + TypeAzureDataLakeStoreSource TypeBasicCopySource = "AzureDataLakeStoreSource" + // TypeAzureMySQLSource ... + TypeAzureMySQLSource TypeBasicCopySource = "AzureMySqlSource" + // TypeAzurePostgreSQLSource ... + TypeAzurePostgreSQLSource TypeBasicCopySource = "AzurePostgreSqlSource" + // TypeAzureTableSource ... + TypeAzureTableSource TypeBasicCopySource = "AzureTableSource" + // TypeBlobSource ... + TypeBlobSource TypeBasicCopySource = "BlobSource" + // TypeCassandraSource ... + TypeCassandraSource TypeBasicCopySource = "CassandraSource" + // TypeConcurSource ... + TypeConcurSource TypeBasicCopySource = "ConcurSource" + // TypeCopySource ... + TypeCopySource TypeBasicCopySource = "CopySource" + // TypeCouchbaseSource ... + TypeCouchbaseSource TypeBasicCopySource = "CouchbaseSource" + // TypeDocumentDbCollectionSource ... + TypeDocumentDbCollectionSource TypeBasicCopySource = "DocumentDbCollectionSource" + // TypeDrillSource ... + TypeDrillSource TypeBasicCopySource = "DrillSource" + // TypeDynamicsSource ... + TypeDynamicsSource TypeBasicCopySource = "DynamicsSource" + // TypeEloquaSource ... + TypeEloquaSource TypeBasicCopySource = "EloquaSource" + // TypeFileSystemSource ... + TypeFileSystemSource TypeBasicCopySource = "FileSystemSource" + // TypeGoogleBigQuerySource ... + TypeGoogleBigQuerySource TypeBasicCopySource = "GoogleBigQuerySource" + // TypeGreenplumSource ... + TypeGreenplumSource TypeBasicCopySource = "GreenplumSource" + // TypeHBaseSource ... + TypeHBaseSource TypeBasicCopySource = "HBaseSource" + // TypeHdfsSource ... + TypeHdfsSource TypeBasicCopySource = "HdfsSource" + // TypeHiveSource ... + TypeHiveSource TypeBasicCopySource = "HiveSource" + // TypeHTTPSource ... + TypeHTTPSource TypeBasicCopySource = "HttpSource" + // TypeHubspotSource ... + TypeHubspotSource TypeBasicCopySource = "HubspotSource" + // TypeImpalaSource ... + TypeImpalaSource TypeBasicCopySource = "ImpalaSource" + // TypeJiraSource ... + TypeJiraSource TypeBasicCopySource = "JiraSource" + // TypeMagentoSource ... + TypeMagentoSource TypeBasicCopySource = "MagentoSource" + // TypeMariaDBSource ... + TypeMariaDBSource TypeBasicCopySource = "MariaDBSource" + // TypeMarketoSource ... + TypeMarketoSource TypeBasicCopySource = "MarketoSource" + // TypeMongoDbSource ... + TypeMongoDbSource TypeBasicCopySource = "MongoDbSource" + // TypeNetezzaSource ... + TypeNetezzaSource TypeBasicCopySource = "NetezzaSource" + // TypeOracleSource ... + TypeOracleSource TypeBasicCopySource = "OracleSource" + // TypePaypalSource ... + TypePaypalSource TypeBasicCopySource = "PaypalSource" + // TypePhoenixSource ... + TypePhoenixSource TypeBasicCopySource = "PhoenixSource" + // TypePrestoSource ... + TypePrestoSource TypeBasicCopySource = "PrestoSource" + // TypeQuickBooksSource ... + TypeQuickBooksSource TypeBasicCopySource = "QuickBooksSource" + // TypeRelationalSource ... + TypeRelationalSource TypeBasicCopySource = "RelationalSource" + // TypeResponsysSource ... + TypeResponsysSource TypeBasicCopySource = "ResponsysSource" + // TypeSalesforceMarketingCloudSource ... + TypeSalesforceMarketingCloudSource TypeBasicCopySource = "SalesforceMarketingCloudSource" + // TypeSalesforceSource ... + TypeSalesforceSource TypeBasicCopySource = "SalesforceSource" + // TypeSapCloudForCustomerSource ... + TypeSapCloudForCustomerSource TypeBasicCopySource = "SapCloudForCustomerSource" + // TypeSapEccSource ... + TypeSapEccSource TypeBasicCopySource = "SapEccSource" + // TypeServiceNowSource ... + TypeServiceNowSource TypeBasicCopySource = "ServiceNowSource" + // TypeShopifySource ... + TypeShopifySource TypeBasicCopySource = "ShopifySource" + // TypeSparkSource ... + TypeSparkSource TypeBasicCopySource = "SparkSource" + // TypeSQLDWSource ... + TypeSQLDWSource TypeBasicCopySource = "SqlDWSource" + // TypeSQLSource ... + TypeSQLSource TypeBasicCopySource = "SqlSource" + // TypeSquareSource ... + TypeSquareSource TypeBasicCopySource = "SquareSource" + // TypeVerticaSource ... + TypeVerticaSource TypeBasicCopySource = "VerticaSource" + // TypeWebSource ... + TypeWebSource TypeBasicCopySource = "WebSource" + // TypeXeroSource ... + TypeXeroSource TypeBasicCopySource = "XeroSource" + // TypeZohoSource ... + TypeZohoSource TypeBasicCopySource = "ZohoSource" +) + +// PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type. +func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource { + return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureTableSource, TypeBlobSource, TypeCassandraSource, TypeConcurSource, TypeCopySource, TypeCouchbaseSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMongoDbSource, TypeNetezzaSource, TypeOracleSource, TypePaypalSource, TypePhoenixSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeSalesforceMarketingCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLSource, TypeSquareSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} +} + +// TypeBasicDataset enumerates the values for type basic dataset. +type TypeBasicDataset string + +const ( + // TypeAmazonMWSObject ... + TypeAmazonMWSObject TypeBasicDataset = "AmazonMWSObject" + // TypeAmazonS3Object ... + TypeAmazonS3Object TypeBasicDataset = "AmazonS3Object" + // TypeAzureBlob ... + TypeAzureBlob TypeBasicDataset = "AzureBlob" + // TypeAzureDataLakeStoreFile ... + TypeAzureDataLakeStoreFile TypeBasicDataset = "AzureDataLakeStoreFile" + // TypeAzureMySQLTable ... + TypeAzureMySQLTable TypeBasicDataset = "AzureMySqlTable" + // TypeAzurePostgreSQLTable ... + TypeAzurePostgreSQLTable TypeBasicDataset = "AzurePostgreSqlTable" + // TypeAzureSearchIndex ... + TypeAzureSearchIndex TypeBasicDataset = "AzureSearchIndex" + // TypeAzureSQLDWTable ... + TypeAzureSQLDWTable TypeBasicDataset = "AzureSqlDWTable" + // TypeAzureSQLTable ... + TypeAzureSQLTable TypeBasicDataset = "AzureSqlTable" + // TypeAzureTable ... + TypeAzureTable TypeBasicDataset = "AzureTable" + // TypeCassandraTable ... + TypeCassandraTable TypeBasicDataset = "CassandraTable" + // TypeConcurObject ... + TypeConcurObject TypeBasicDataset = "ConcurObject" + // TypeCouchbaseTable ... + TypeCouchbaseTable TypeBasicDataset = "CouchbaseTable" + // TypeCustomDataset ... + TypeCustomDataset TypeBasicDataset = "CustomDataset" + // TypeDataset ... + TypeDataset TypeBasicDataset = "Dataset" + // TypeDocumentDbCollection ... + TypeDocumentDbCollection TypeBasicDataset = "DocumentDbCollection" + // TypeDrillTable ... + TypeDrillTable TypeBasicDataset = "DrillTable" + // TypeDynamicsEntity ... + TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity" + // TypeEloquaObject ... + TypeEloquaObject TypeBasicDataset = "EloquaObject" + // TypeFileShare ... + TypeFileShare TypeBasicDataset = "FileShare" + // TypeGoogleBigQueryObject ... + TypeGoogleBigQueryObject TypeBasicDataset = "GoogleBigQueryObject" + // TypeGreenplumTable ... + TypeGreenplumTable TypeBasicDataset = "GreenplumTable" + // TypeHBaseObject ... + TypeHBaseObject TypeBasicDataset = "HBaseObject" + // TypeHiveObject ... + TypeHiveObject TypeBasicDataset = "HiveObject" + // TypeHTTPFile ... + TypeHTTPFile TypeBasicDataset = "HttpFile" + // TypeHubspotObject ... + TypeHubspotObject TypeBasicDataset = "HubspotObject" + // TypeImpalaObject ... + TypeImpalaObject TypeBasicDataset = "ImpalaObject" + // TypeJiraObject ... + TypeJiraObject TypeBasicDataset = "JiraObject" + // TypeMagentoObject ... + TypeMagentoObject TypeBasicDataset = "MagentoObject" + // TypeMariaDBTable ... + TypeMariaDBTable TypeBasicDataset = "MariaDBTable" + // TypeMarketoObject ... + TypeMarketoObject TypeBasicDataset = "MarketoObject" + // TypeMongoDbCollection ... + TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection" + // TypeNetezzaTable ... + TypeNetezzaTable TypeBasicDataset = "NetezzaTable" + // TypeODataResource ... + TypeODataResource TypeBasicDataset = "ODataResource" + // TypeOracleTable ... + TypeOracleTable TypeBasicDataset = "OracleTable" + // TypePaypalObject ... + TypePaypalObject TypeBasicDataset = "PaypalObject" + // TypePhoenixObject ... + TypePhoenixObject TypeBasicDataset = "PhoenixObject" + // TypePrestoObject ... + TypePrestoObject TypeBasicDataset = "PrestoObject" + // TypeQuickBooksObject ... + TypeQuickBooksObject TypeBasicDataset = "QuickBooksObject" + // TypeRelationalTable ... + TypeRelationalTable TypeBasicDataset = "RelationalTable" + // TypeResponsysObject ... + TypeResponsysObject TypeBasicDataset = "ResponsysObject" + // TypeSalesforceMarketingCloudObject ... + TypeSalesforceMarketingCloudObject TypeBasicDataset = "SalesforceMarketingCloudObject" + // TypeSalesforceObject ... + TypeSalesforceObject TypeBasicDataset = "SalesforceObject" + // TypeSapCloudForCustomerResource ... + TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource" + // TypeSapEccResource ... + TypeSapEccResource TypeBasicDataset = "SapEccResource" + // TypeServiceNowObject ... + TypeServiceNowObject TypeBasicDataset = "ServiceNowObject" + // TypeShopifyObject ... + TypeShopifyObject TypeBasicDataset = "ShopifyObject" + // TypeSparkObject ... + TypeSparkObject TypeBasicDataset = "SparkObject" + // TypeSQLServerTable ... + TypeSQLServerTable TypeBasicDataset = "SqlServerTable" + // TypeSquareObject ... + TypeSquareObject TypeBasicDataset = "SquareObject" + // TypeVerticaTable ... + TypeVerticaTable TypeBasicDataset = "VerticaTable" + // TypeWebTable ... + TypeWebTable TypeBasicDataset = "WebTable" + // TypeXeroObject ... + TypeXeroObject TypeBasicDataset = "XeroObject" + // TypeZohoObject ... + TypeZohoObject TypeBasicDataset = "ZohoObject" +) + +// PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type. +func PossibleTypeBasicDatasetValues() []TypeBasicDataset { + return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLTable, TypeAzureTable, TypeCassandraTable, TypeConcurObject, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMongoDbCollection, TypeNetezzaTable, TypeODataResource, TypeOracleTable, TypePaypalObject, TypePhoenixObject, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} +} + +// TypeBasicDatasetCompression enumerates the values for type basic dataset compression. +type TypeBasicDatasetCompression string + +const ( + // TypeBZip2 ... + TypeBZip2 TypeBasicDatasetCompression = "BZip2" + // TypeDatasetCompression ... + TypeDatasetCompression TypeBasicDatasetCompression = "DatasetCompression" + // TypeDeflate ... + TypeDeflate TypeBasicDatasetCompression = "Deflate" + // TypeGZip ... + TypeGZip TypeBasicDatasetCompression = "GZip" + // TypeZipDeflate ... + TypeZipDeflate TypeBasicDatasetCompression = "ZipDeflate" +) + +// PossibleTypeBasicDatasetCompressionValues returns an array of possible values for the TypeBasicDatasetCompression const type. +func PossibleTypeBasicDatasetCompressionValues() []TypeBasicDatasetCompression { + return []TypeBasicDatasetCompression{TypeBZip2, TypeDatasetCompression, TypeDeflate, TypeGZip, TypeZipDeflate} +} + +// TypeBasicDatasetStorageFormat enumerates the values for type basic dataset storage format. +type TypeBasicDatasetStorageFormat string + +const ( + // TypeAvroFormat ... + TypeAvroFormat TypeBasicDatasetStorageFormat = "AvroFormat" + // TypeDatasetStorageFormat ... + TypeDatasetStorageFormat TypeBasicDatasetStorageFormat = "DatasetStorageFormat" + // TypeJSONFormat ... + TypeJSONFormat TypeBasicDatasetStorageFormat = "JsonFormat" + // TypeOrcFormat ... + TypeOrcFormat TypeBasicDatasetStorageFormat = "OrcFormat" + // TypeParquetFormat ... + TypeParquetFormat TypeBasicDatasetStorageFormat = "ParquetFormat" + // TypeTextFormat ... + TypeTextFormat TypeBasicDatasetStorageFormat = "TextFormat" +) + +// PossibleTypeBasicDatasetStorageFormatValues returns an array of possible values for the TypeBasicDatasetStorageFormat const type. +func PossibleTypeBasicDatasetStorageFormatValues() []TypeBasicDatasetStorageFormat { + return []TypeBasicDatasetStorageFormat{TypeAvroFormat, TypeDatasetStorageFormat, TypeJSONFormat, TypeOrcFormat, TypeParquetFormat, TypeTextFormat} +} + +// TypeBasicIntegrationRuntime enumerates the values for type basic integration runtime. +type TypeBasicIntegrationRuntime string + +const ( + // TypeIntegrationRuntime ... + TypeIntegrationRuntime TypeBasicIntegrationRuntime = "IntegrationRuntime" + // TypeManaged ... + TypeManaged TypeBasicIntegrationRuntime = "Managed" + // TypeSelfHosted ... + TypeSelfHosted TypeBasicIntegrationRuntime = "SelfHosted" +) + +// PossibleTypeBasicIntegrationRuntimeValues returns an array of possible values for the TypeBasicIntegrationRuntime const type. +func PossibleTypeBasicIntegrationRuntimeValues() []TypeBasicIntegrationRuntime { + return []TypeBasicIntegrationRuntime{TypeIntegrationRuntime, TypeManaged, TypeSelfHosted} +} + +// TypeBasicIntegrationRuntimeStatus enumerates the values for type basic integration runtime status. +type TypeBasicIntegrationRuntimeStatus string + +const ( + // TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus ... + TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus TypeBasicIntegrationRuntimeStatus = "IntegrationRuntimeStatus" + // TypeBasicIntegrationRuntimeStatusTypeManaged ... + TypeBasicIntegrationRuntimeStatusTypeManaged TypeBasicIntegrationRuntimeStatus = "Managed" + // TypeBasicIntegrationRuntimeStatusTypeSelfHosted ... + TypeBasicIntegrationRuntimeStatusTypeSelfHosted TypeBasicIntegrationRuntimeStatus = "SelfHosted" +) + +// PossibleTypeBasicIntegrationRuntimeStatusValues returns an array of possible values for the TypeBasicIntegrationRuntimeStatus const type. +func PossibleTypeBasicIntegrationRuntimeStatusValues() []TypeBasicIntegrationRuntimeStatus { + return []TypeBasicIntegrationRuntimeStatus{TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus, TypeBasicIntegrationRuntimeStatusTypeManaged, TypeBasicIntegrationRuntimeStatusTypeSelfHosted} +} + +// TypeBasicLinkedService enumerates the values for type basic linked service. +type TypeBasicLinkedService string + +const ( + // TypeAmazonMWS ... + TypeAmazonMWS TypeBasicLinkedService = "AmazonMWS" + // TypeAmazonRedshift ... + TypeAmazonRedshift TypeBasicLinkedService = "AmazonRedshift" + // TypeAmazonS3 ... + TypeAmazonS3 TypeBasicLinkedService = "AmazonS3" + // TypeAzureBatch ... + TypeAzureBatch TypeBasicLinkedService = "AzureBatch" + // TypeAzureDatabricks ... + TypeAzureDatabricks TypeBasicLinkedService = "AzureDatabricks" + // TypeAzureDataLakeAnalytics ... + TypeAzureDataLakeAnalytics TypeBasicLinkedService = "AzureDataLakeAnalytics" + // TypeAzureDataLakeStore ... + TypeAzureDataLakeStore TypeBasicLinkedService = "AzureDataLakeStore" + // TypeAzureKeyVault ... + TypeAzureKeyVault TypeBasicLinkedService = "AzureKeyVault" + // TypeAzureML ... + TypeAzureML TypeBasicLinkedService = "AzureML" + // TypeAzureMySQL ... + TypeAzureMySQL TypeBasicLinkedService = "AzureMySql" + // TypeAzurePostgreSQL ... + TypeAzurePostgreSQL TypeBasicLinkedService = "AzurePostgreSql" + // TypeAzureSearch ... + TypeAzureSearch TypeBasicLinkedService = "AzureSearch" + // TypeAzureSQLDatabase ... + TypeAzureSQLDatabase TypeBasicLinkedService = "AzureSqlDatabase" + // TypeAzureSQLDW ... + TypeAzureSQLDW TypeBasicLinkedService = "AzureSqlDW" + // TypeAzureStorage ... + TypeAzureStorage TypeBasicLinkedService = "AzureStorage" + // TypeCassandra ... + TypeCassandra TypeBasicLinkedService = "Cassandra" + // TypeConcur ... + TypeConcur TypeBasicLinkedService = "Concur" + // TypeCosmosDb ... + TypeCosmosDb TypeBasicLinkedService = "CosmosDb" + // TypeCouchbase ... + TypeCouchbase TypeBasicLinkedService = "Couchbase" + // TypeCustomDataSource ... + TypeCustomDataSource TypeBasicLinkedService = "CustomDataSource" + // TypeDb2 ... + TypeDb2 TypeBasicLinkedService = "Db2" + // TypeDrill ... + TypeDrill TypeBasicLinkedService = "Drill" + // TypeDynamics ... + TypeDynamics TypeBasicLinkedService = "Dynamics" + // TypeEloqua ... + TypeEloqua TypeBasicLinkedService = "Eloqua" + // TypeFileServer ... + TypeFileServer TypeBasicLinkedService = "FileServer" + // TypeFtpServer ... + TypeFtpServer TypeBasicLinkedService = "FtpServer" + // TypeGoogleBigQuery ... + TypeGoogleBigQuery TypeBasicLinkedService = "GoogleBigQuery" + // TypeGreenplum ... + TypeGreenplum TypeBasicLinkedService = "Greenplum" + // TypeHBase ... + TypeHBase TypeBasicLinkedService = "HBase" + // TypeHdfs ... + TypeHdfs TypeBasicLinkedService = "Hdfs" + // TypeHDInsight ... + TypeHDInsight TypeBasicLinkedService = "HDInsight" + // TypeHDInsightOnDemand ... + TypeHDInsightOnDemand TypeBasicLinkedService = "HDInsightOnDemand" + // TypeHive ... + TypeHive TypeBasicLinkedService = "Hive" + // TypeHTTPServer ... + TypeHTTPServer TypeBasicLinkedService = "HttpServer" + // TypeHubspot ... + TypeHubspot TypeBasicLinkedService = "Hubspot" + // TypeImpala ... + TypeImpala TypeBasicLinkedService = "Impala" + // TypeJira ... + TypeJira TypeBasicLinkedService = "Jira" + // TypeLinkedService ... + TypeLinkedService TypeBasicLinkedService = "LinkedService" + // TypeMagento ... + TypeMagento TypeBasicLinkedService = "Magento" + // TypeMariaDB ... + TypeMariaDB TypeBasicLinkedService = "MariaDB" + // TypeMarketo ... + TypeMarketo TypeBasicLinkedService = "Marketo" + // TypeMongoDb ... + TypeMongoDb TypeBasicLinkedService = "MongoDb" + // TypeMySQL ... + TypeMySQL TypeBasicLinkedService = "MySql" + // TypeNetezza ... + TypeNetezza TypeBasicLinkedService = "Netezza" + // TypeOData ... + TypeOData TypeBasicLinkedService = "OData" + // TypeOdbc ... + TypeOdbc TypeBasicLinkedService = "Odbc" + // TypeOracle ... + TypeOracle TypeBasicLinkedService = "Oracle" + // TypePaypal ... + TypePaypal TypeBasicLinkedService = "Paypal" + // TypePhoenix ... + TypePhoenix TypeBasicLinkedService = "Phoenix" + // TypePostgreSQL ... + TypePostgreSQL TypeBasicLinkedService = "PostgreSql" + // TypePresto ... + TypePresto TypeBasicLinkedService = "Presto" + // TypeQuickBooks ... + TypeQuickBooks TypeBasicLinkedService = "QuickBooks" + // TypeResponsys ... + TypeResponsys TypeBasicLinkedService = "Responsys" + // TypeSalesforce ... + TypeSalesforce TypeBasicLinkedService = "Salesforce" + // TypeSalesforceMarketingCloud ... + TypeSalesforceMarketingCloud TypeBasicLinkedService = "SalesforceMarketingCloud" + // TypeSapBW ... + TypeSapBW TypeBasicLinkedService = "SapBW" + // TypeSapCloudForCustomer ... + TypeSapCloudForCustomer TypeBasicLinkedService = "SapCloudForCustomer" + // TypeSapEcc ... + TypeSapEcc TypeBasicLinkedService = "SapEcc" + // TypeSapHana ... + TypeSapHana TypeBasicLinkedService = "SapHana" + // TypeServiceNow ... + TypeServiceNow TypeBasicLinkedService = "ServiceNow" + // TypeSftp ... + TypeSftp TypeBasicLinkedService = "Sftp" + // TypeShopify ... + TypeShopify TypeBasicLinkedService = "Shopify" + // TypeSpark ... + TypeSpark TypeBasicLinkedService = "Spark" + // TypeSQLServer ... + TypeSQLServer TypeBasicLinkedService = "SqlServer" + // TypeSquare ... + TypeSquare TypeBasicLinkedService = "Square" + // TypeSybase ... + TypeSybase TypeBasicLinkedService = "Sybase" + // TypeTeradata ... + TypeTeradata TypeBasicLinkedService = "Teradata" + // TypeVertica ... + TypeVertica TypeBasicLinkedService = "Vertica" + // TypeWeb ... + TypeWeb TypeBasicLinkedService = "Web" + // TypeXero ... + TypeXero TypeBasicLinkedService = "Xero" + // TypeZoho ... + TypeZoho TypeBasicLinkedService = "Zoho" +) + +// PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type. +func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { + return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureDatabricks, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureStorage, TypeCassandra, TypeConcur, TypeCosmosDb, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMongoDb, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOracle, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} +} + +// TypeBasicTrigger enumerates the values for type basic trigger. +type TypeBasicTrigger string + +const ( + // TypeBlobEventsTrigger ... + TypeBlobEventsTrigger TypeBasicTrigger = "BlobEventsTrigger" + // TypeBlobTrigger ... + TypeBlobTrigger TypeBasicTrigger = "BlobTrigger" + // TypeMultiplePipelineTrigger ... + TypeMultiplePipelineTrigger TypeBasicTrigger = "MultiplePipelineTrigger" + // TypeScheduleTrigger ... + TypeScheduleTrigger TypeBasicTrigger = "ScheduleTrigger" + // TypeTrigger ... + TypeTrigger TypeBasicTrigger = "Trigger" + // TypeTumblingWindowTrigger ... + TypeTumblingWindowTrigger TypeBasicTrigger = "TumblingWindowTrigger" +) + +// PossibleTypeBasicTriggerValues returns an array of possible values for the TypeBasicTrigger const type. +func PossibleTypeBasicTriggerValues() []TypeBasicTrigger { + return []TypeBasicTrigger{TypeBlobEventsTrigger, TypeBlobTrigger, TypeMultiplePipelineTrigger, TypeScheduleTrigger, TypeTrigger, TypeTumblingWindowTrigger} +} + +// WebActivityMethod enumerates the values for web activity method. +type WebActivityMethod string + +const ( + // DELETE ... + DELETE WebActivityMethod = "DELETE" + // GET ... + GET WebActivityMethod = "GET" + // POST ... + POST WebActivityMethod = "POST" + // PUT ... + PUT WebActivityMethod = "PUT" +) + +// PossibleWebActivityMethodValues returns an array of possible values for the WebActivityMethod const type. +func PossibleWebActivityMethodValues() []WebActivityMethod { + return []WebActivityMethod{DELETE, GET, POST, PUT} +} diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go index 4a439c220973..a2609e99dea3 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/factories.go @@ -125,7 +125,6 @@ func (client FactoriesClient) CancelPipelineRunSender(req *http.Request) (*http. func (client FactoriesClient) CancelPipelineRunResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -201,7 +200,6 @@ func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*ht func (client FactoriesClient) ConfigureFactoryRepoResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -295,7 +293,6 @@ func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Res func (client FactoriesClient) CreateOrUpdateResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -383,7 +380,6 @@ func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, e func (client FactoriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -470,7 +466,6 @@ func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, erro func (client FactoriesClient) GetResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -508,6 +503,9 @@ func (client FactoriesClient) List(ctx context.Context) (result FactoryListRespo if err != nil { err = autorest.NewErrorWithError(err, "datafactory.FactoriesClient", "List", resp, "Failure responding to request") } + if result.flr.hasNextLink() && result.flr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -542,7 +540,6 @@ func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, err func (client FactoriesClient) ListResponder(resp *http.Response) (result FactoryListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -627,6 +624,9 @@ func (client FactoriesClient) ListByResourceGroup(ctx context.Context, resourceG if err != nil { err = autorest.NewErrorWithError(err, "datafactory.FactoriesClient", "ListByResourceGroup", resp, "Failure responding to request") } + if result.flr.hasNextLink() && result.flr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -662,7 +662,6 @@ func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*htt func (client FactoriesClient) ListByResourceGroupResponder(resp *http.Response) (result FactoryListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -790,7 +789,6 @@ func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, e func (client FactoriesClient) UpdateResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go index 069c456e1153..f91a010635dd 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimenodes.go @@ -136,7 +136,6 @@ func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*ht func (client IntegrationRuntimeNodesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -235,7 +234,6 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request func (client IntegrationRuntimeNodesClient) GetIPAddressResponder(resp *http.Response) (result IntegrationRuntimeNodeIPAddress, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -338,7 +336,6 @@ func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*ht func (client IntegrationRuntimeNodesClient) UpdateResponder(resp *http.Response) (result SelfHostedIntegrationRuntimeNode, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go index 84d11aa0c658..58a9aa2b40bb 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/integrationruntimes.go @@ -141,7 +141,6 @@ func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) func (client IntegrationRuntimesClient) CreateOrUpdateResponder(resp *http.Response) (result IntegrationRuntimeResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -235,7 +234,6 @@ func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.R func (client IntegrationRuntimesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -328,7 +326,6 @@ func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Resp func (client IntegrationRuntimesClient) GetResponder(resp *http.Response) (result IntegrationRuntimeResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -423,7 +420,6 @@ func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Reques func (client IntegrationRuntimesClient) GetConnectionInfoResponder(resp *http.Response) (result IntegrationRuntimeConnectionInfo, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -518,7 +514,6 @@ func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Reques func (client IntegrationRuntimesClient) GetMonitoringDataResponder(resp *http.Response) (result IntegrationRuntimeMonitoringData, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -612,7 +607,6 @@ func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*htt func (client IntegrationRuntimesClient) GetStatusResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -706,7 +700,6 @@ func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (* func (client IntegrationRuntimesClient) ListAuthKeysResponder(resp *http.Response) (result IntegrationRuntimeAuthKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -759,6 +752,9 @@ func (client IntegrationRuntimesClient) ListByFactory(ctx context.Context, resou if err != nil { err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesClient", "ListByFactory", resp, "Failure responding to request") } + if result.irlr.hasNextLink() && result.irlr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -795,7 +791,6 @@ func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) ( func (client IntegrationRuntimesClient) ListByFactoryResponder(resp *http.Response) (result IntegrationRuntimeListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -929,7 +924,6 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Reques func (client IntegrationRuntimesClient) RegenerateAuthKeyResponder(resp *http.Response) (result IntegrationRuntimeAuthKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1026,7 +1020,6 @@ func (client IntegrationRuntimesClient) RemoveNodeSender(req *http.Request) (*ht func (client IntegrationRuntimesClient) RemoveNodeResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -1119,7 +1112,6 @@ func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future I func (client IntegrationRuntimesClient) StartResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1213,7 +1205,6 @@ func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future In func (client IntegrationRuntimesClient) StopResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp @@ -1309,7 +1300,6 @@ func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) func (client IntegrationRuntimesClient) SyncCredentialsResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -1405,7 +1395,6 @@ func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.R func (client IntegrationRuntimesClient) UpdateResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1499,7 +1488,6 @@ func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http. func (client IntegrationRuntimesClient) UpgradeResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go index da3c7fd8a4a1..d0f9ac7dc0f6 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/linkedservices.go @@ -145,7 +145,6 @@ func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*htt func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedServiceResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -239,7 +238,6 @@ func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Respon func (client LinkedServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -332,7 +330,6 @@ func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, func (client LinkedServicesClient) GetResponder(resp *http.Response) (result LinkedServiceResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -385,6 +382,9 @@ func (client LinkedServicesClient) ListByFactory(ctx context.Context, resourceGr if err != nil { err = autorest.NewErrorWithError(err, "datafactory.LinkedServicesClient", "ListByFactory", resp, "Failure responding to request") } + if result.lslr.hasNextLink() && result.lslr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -421,7 +421,6 @@ func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http func (client LinkedServicesClient) ListByFactoryResponder(resp *http.Response) (result LinkedServiceListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go index 5541101fd47e..8d3c8454cc1f 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/models.go @@ -32,1500 +32,6 @@ import ( // The package's fully qualified name. const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory" -// AuthenticationType enumerates the values for authentication type. -type AuthenticationType string - -const ( - // AuthenticationTypeAnonymous ... - AuthenticationTypeAnonymous AuthenticationType = "Anonymous" - // AuthenticationTypeBasic ... - AuthenticationTypeBasic AuthenticationType = "Basic" - // AuthenticationTypeClientCertificate ... - AuthenticationTypeClientCertificate AuthenticationType = "ClientCertificate" - // AuthenticationTypeWebLinkedServiceTypeProperties ... - AuthenticationTypeWebLinkedServiceTypeProperties AuthenticationType = "WebLinkedServiceTypeProperties" -) - -// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. -func PossibleAuthenticationTypeValues() []AuthenticationType { - return []AuthenticationType{AuthenticationTypeAnonymous, AuthenticationTypeBasic, AuthenticationTypeClientCertificate, AuthenticationTypeWebLinkedServiceTypeProperties} -} - -// AuthorizationType enumerates the values for authorization type. -type AuthorizationType string - -const ( - // AuthorizationTypeKey ... - AuthorizationTypeKey AuthorizationType = "Key" - // AuthorizationTypeLinkedIntegrationRuntimeProperties ... - AuthorizationTypeLinkedIntegrationRuntimeProperties AuthorizationType = "LinkedIntegrationRuntimeProperties" - // AuthorizationTypeRBAC ... - AuthorizationTypeRBAC AuthorizationType = "RBAC" -) - -// PossibleAuthorizationTypeValues returns an array of possible values for the AuthorizationType const type. -func PossibleAuthorizationTypeValues() []AuthorizationType { - return []AuthorizationType{AuthorizationTypeKey, AuthorizationTypeLinkedIntegrationRuntimeProperties, AuthorizationTypeRBAC} -} - -// BlobEventTypes enumerates the values for blob event types. -type BlobEventTypes string - -const ( - // MicrosoftStorageBlobCreated ... - MicrosoftStorageBlobCreated BlobEventTypes = "Microsoft.Storage.BlobCreated" - // MicrosoftStorageBlobDeleted ... - MicrosoftStorageBlobDeleted BlobEventTypes = "Microsoft.Storage.BlobDeleted" -) - -// PossibleBlobEventTypesValues returns an array of possible values for the BlobEventTypes const type. -func PossibleBlobEventTypesValues() []BlobEventTypes { - return []BlobEventTypes{MicrosoftStorageBlobCreated, MicrosoftStorageBlobDeleted} -} - -// DayOfWeek enumerates the values for day of week. -type DayOfWeek string - -const ( - // Friday ... - Friday DayOfWeek = "Friday" - // Monday ... - Monday DayOfWeek = "Monday" - // Saturday ... - Saturday DayOfWeek = "Saturday" - // Sunday ... - Sunday DayOfWeek = "Sunday" - // Thursday ... - Thursday DayOfWeek = "Thursday" - // Tuesday ... - Tuesday DayOfWeek = "Tuesday" - // Wednesday ... - Wednesday DayOfWeek = "Wednesday" -) - -// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type. -func PossibleDayOfWeekValues() []DayOfWeek { - return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday} -} - -// DaysOfWeek enumerates the values for days of week. -type DaysOfWeek string - -const ( - // DaysOfWeekFriday ... - DaysOfWeekFriday DaysOfWeek = "Friday" - // DaysOfWeekMonday ... - DaysOfWeekMonday DaysOfWeek = "Monday" - // DaysOfWeekSaturday ... - DaysOfWeekSaturday DaysOfWeek = "Saturday" - // DaysOfWeekSunday ... - DaysOfWeekSunday DaysOfWeek = "Sunday" - // DaysOfWeekThursday ... - DaysOfWeekThursday DaysOfWeek = "Thursday" - // DaysOfWeekTuesday ... - DaysOfWeekTuesday DaysOfWeek = "Tuesday" - // DaysOfWeekWednesday ... - DaysOfWeekWednesday DaysOfWeek = "Wednesday" -) - -// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type. -func PossibleDaysOfWeekValues() []DaysOfWeek { - return []DaysOfWeek{DaysOfWeekFriday, DaysOfWeekMonday, DaysOfWeekSaturday, DaysOfWeekSunday, DaysOfWeekThursday, DaysOfWeekTuesday, DaysOfWeekWednesday} -} - -// Db2AuthenticationType enumerates the values for db 2 authentication type. -type Db2AuthenticationType string - -const ( - // Basic ... - Basic Db2AuthenticationType = "Basic" -) - -// PossibleDb2AuthenticationTypeValues returns an array of possible values for the Db2AuthenticationType const type. -func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType { - return []Db2AuthenticationType{Basic} -} - -// DependencyCondition enumerates the values for dependency condition. -type DependencyCondition string - -const ( - // Completed ... - Completed DependencyCondition = "Completed" - // Failed ... - Failed DependencyCondition = "Failed" - // Skipped ... - Skipped DependencyCondition = "Skipped" - // Succeeded ... - Succeeded DependencyCondition = "Succeeded" -) - -// PossibleDependencyConditionValues returns an array of possible values for the DependencyCondition const type. -func PossibleDependencyConditionValues() []DependencyCondition { - return []DependencyCondition{Completed, Failed, Skipped, Succeeded} -} - -// FtpAuthenticationType enumerates the values for ftp authentication type. -type FtpAuthenticationType string - -const ( - // FtpAuthenticationTypeAnonymous ... - FtpAuthenticationTypeAnonymous FtpAuthenticationType = "Anonymous" - // FtpAuthenticationTypeBasic ... - FtpAuthenticationTypeBasic FtpAuthenticationType = "Basic" -) - -// PossibleFtpAuthenticationTypeValues returns an array of possible values for the FtpAuthenticationType const type. -func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { - return []FtpAuthenticationType{FtpAuthenticationTypeAnonymous, FtpAuthenticationTypeBasic} -} - -// GoogleBigQueryAuthenticationType enumerates the values for google big query authentication type. -type GoogleBigQueryAuthenticationType string - -const ( - // ServiceAuthentication ... - ServiceAuthentication GoogleBigQueryAuthenticationType = "ServiceAuthentication" - // UserAuthentication ... - UserAuthentication GoogleBigQueryAuthenticationType = "UserAuthentication" -) - -// PossibleGoogleBigQueryAuthenticationTypeValues returns an array of possible values for the GoogleBigQueryAuthenticationType const type. -func PossibleGoogleBigQueryAuthenticationTypeValues() []GoogleBigQueryAuthenticationType { - return []GoogleBigQueryAuthenticationType{ServiceAuthentication, UserAuthentication} -} - -// HBaseAuthenticationType enumerates the values for h base authentication type. -type HBaseAuthenticationType string - -const ( - // HBaseAuthenticationTypeAnonymous ... - HBaseAuthenticationTypeAnonymous HBaseAuthenticationType = "Anonymous" - // HBaseAuthenticationTypeBasic ... - HBaseAuthenticationTypeBasic HBaseAuthenticationType = "Basic" -) - -// PossibleHBaseAuthenticationTypeValues returns an array of possible values for the HBaseAuthenticationType const type. -func PossibleHBaseAuthenticationTypeValues() []HBaseAuthenticationType { - return []HBaseAuthenticationType{HBaseAuthenticationTypeAnonymous, HBaseAuthenticationTypeBasic} -} - -// HDInsightActivityDebugInfoOption enumerates the values for hd insight activity debug info option. -type HDInsightActivityDebugInfoOption string - -const ( - // Always ... - Always HDInsightActivityDebugInfoOption = "Always" - // Failure ... - Failure HDInsightActivityDebugInfoOption = "Failure" - // None ... - None HDInsightActivityDebugInfoOption = "None" -) - -// PossibleHDInsightActivityDebugInfoOptionValues returns an array of possible values for the HDInsightActivityDebugInfoOption const type. -func PossibleHDInsightActivityDebugInfoOptionValues() []HDInsightActivityDebugInfoOption { - return []HDInsightActivityDebugInfoOption{Always, Failure, None} -} - -// HiveAuthenticationType enumerates the values for hive authentication type. -type HiveAuthenticationType string - -const ( - // Anonymous ... - Anonymous HiveAuthenticationType = "Anonymous" - // Username ... - Username HiveAuthenticationType = "Username" - // UsernameAndPassword ... - UsernameAndPassword HiveAuthenticationType = "UsernameAndPassword" - // WindowsAzureHDInsightService ... - WindowsAzureHDInsightService HiveAuthenticationType = "WindowsAzureHDInsightService" -) - -// PossibleHiveAuthenticationTypeValues returns an array of possible values for the HiveAuthenticationType const type. -func PossibleHiveAuthenticationTypeValues() []HiveAuthenticationType { - return []HiveAuthenticationType{Anonymous, Username, UsernameAndPassword, WindowsAzureHDInsightService} -} - -// HiveServerType enumerates the values for hive server type. -type HiveServerType string - -const ( - // HiveServer1 ... - HiveServer1 HiveServerType = "HiveServer1" - // HiveServer2 ... - HiveServer2 HiveServerType = "HiveServer2" - // HiveThriftServer ... - HiveThriftServer HiveServerType = "HiveThriftServer" -) - -// PossibleHiveServerTypeValues returns an array of possible values for the HiveServerType const type. -func PossibleHiveServerTypeValues() []HiveServerType { - return []HiveServerType{HiveServer1, HiveServer2, HiveThriftServer} -} - -// HiveThriftTransportProtocol enumerates the values for hive thrift transport protocol. -type HiveThriftTransportProtocol string - -const ( - // Binary ... - Binary HiveThriftTransportProtocol = "Binary" - // HTTP ... - HTTP HiveThriftTransportProtocol = "HTTP " - // SASL ... - SASL HiveThriftTransportProtocol = "SASL" -) - -// PossibleHiveThriftTransportProtocolValues returns an array of possible values for the HiveThriftTransportProtocol const type. -func PossibleHiveThriftTransportProtocolValues() []HiveThriftTransportProtocol { - return []HiveThriftTransportProtocol{Binary, HTTP, SASL} -} - -// HTTPAuthenticationType enumerates the values for http authentication type. -type HTTPAuthenticationType string - -const ( - // HTTPAuthenticationTypeAnonymous ... - HTTPAuthenticationTypeAnonymous HTTPAuthenticationType = "Anonymous" - // HTTPAuthenticationTypeBasic ... - HTTPAuthenticationTypeBasic HTTPAuthenticationType = "Basic" - // HTTPAuthenticationTypeClientCertificate ... - HTTPAuthenticationTypeClientCertificate HTTPAuthenticationType = "ClientCertificate" - // HTTPAuthenticationTypeDigest ... - HTTPAuthenticationTypeDigest HTTPAuthenticationType = "Digest" - // HTTPAuthenticationTypeWindows ... - HTTPAuthenticationTypeWindows HTTPAuthenticationType = "Windows" -) - -// PossibleHTTPAuthenticationTypeValues returns an array of possible values for the HTTPAuthenticationType const type. -func PossibleHTTPAuthenticationTypeValues() []HTTPAuthenticationType { - return []HTTPAuthenticationType{HTTPAuthenticationTypeAnonymous, HTTPAuthenticationTypeBasic, HTTPAuthenticationTypeClientCertificate, HTTPAuthenticationTypeDigest, HTTPAuthenticationTypeWindows} -} - -// ImpalaAuthenticationType enumerates the values for impala authentication type. -type ImpalaAuthenticationType string - -const ( - // ImpalaAuthenticationTypeAnonymous ... - ImpalaAuthenticationTypeAnonymous ImpalaAuthenticationType = "Anonymous" - // ImpalaAuthenticationTypeSASLUsername ... - ImpalaAuthenticationTypeSASLUsername ImpalaAuthenticationType = "SASLUsername" - // ImpalaAuthenticationTypeUsernameAndPassword ... - ImpalaAuthenticationTypeUsernameAndPassword ImpalaAuthenticationType = "UsernameAndPassword" -) - -// PossibleImpalaAuthenticationTypeValues returns an array of possible values for the ImpalaAuthenticationType const type. -func PossibleImpalaAuthenticationTypeValues() []ImpalaAuthenticationType { - return []ImpalaAuthenticationType{ImpalaAuthenticationTypeAnonymous, ImpalaAuthenticationTypeSASLUsername, ImpalaAuthenticationTypeUsernameAndPassword} -} - -// IntegrationRuntimeAuthKeyName enumerates the values for integration runtime auth key name. -type IntegrationRuntimeAuthKeyName string - -const ( - // AuthKey1 ... - AuthKey1 IntegrationRuntimeAuthKeyName = "authKey1" - // AuthKey2 ... - AuthKey2 IntegrationRuntimeAuthKeyName = "authKey2" -) - -// PossibleIntegrationRuntimeAuthKeyNameValues returns an array of possible values for the IntegrationRuntimeAuthKeyName const type. -func PossibleIntegrationRuntimeAuthKeyNameValues() []IntegrationRuntimeAuthKeyName { - return []IntegrationRuntimeAuthKeyName{AuthKey1, AuthKey2} -} - -// IntegrationRuntimeAutoUpdate enumerates the values for integration runtime auto update. -type IntegrationRuntimeAutoUpdate string - -const ( - // Off ... - Off IntegrationRuntimeAutoUpdate = "Off" - // On ... - On IntegrationRuntimeAutoUpdate = "On" -) - -// PossibleIntegrationRuntimeAutoUpdateValues returns an array of possible values for the IntegrationRuntimeAutoUpdate const type. -func PossibleIntegrationRuntimeAutoUpdateValues() []IntegrationRuntimeAutoUpdate { - return []IntegrationRuntimeAutoUpdate{Off, On} -} - -// IntegrationRuntimeEdition enumerates the values for integration runtime edition. -type IntegrationRuntimeEdition string - -const ( - // Enterprise ... - Enterprise IntegrationRuntimeEdition = "Enterprise" - // Standard ... - Standard IntegrationRuntimeEdition = "Standard" -) - -// PossibleIntegrationRuntimeEditionValues returns an array of possible values for the IntegrationRuntimeEdition const type. -func PossibleIntegrationRuntimeEditionValues() []IntegrationRuntimeEdition { - return []IntegrationRuntimeEdition{Enterprise, Standard} -} - -// IntegrationRuntimeEntityReferenceType enumerates the values for integration runtime entity reference type. -type IntegrationRuntimeEntityReferenceType string - -const ( - // IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference ... - IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference IntegrationRuntimeEntityReferenceType = "IntegrationRuntimeReference" - // IntegrationRuntimeEntityReferenceTypeLinkedServiceReference ... - IntegrationRuntimeEntityReferenceTypeLinkedServiceReference IntegrationRuntimeEntityReferenceType = "LinkedServiceReference" -) - -// PossibleIntegrationRuntimeEntityReferenceTypeValues returns an array of possible values for the IntegrationRuntimeEntityReferenceType const type. -func PossibleIntegrationRuntimeEntityReferenceTypeValues() []IntegrationRuntimeEntityReferenceType { - return []IntegrationRuntimeEntityReferenceType{IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference, IntegrationRuntimeEntityReferenceTypeLinkedServiceReference} -} - -// IntegrationRuntimeInternalChannelEncryptionMode enumerates the values for integration runtime internal -// channel encryption mode. -type IntegrationRuntimeInternalChannelEncryptionMode string - -const ( - // NotEncrypted ... - NotEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "NotEncrypted" - // NotSet ... - NotSet IntegrationRuntimeInternalChannelEncryptionMode = "NotSet" - // SslEncrypted ... - SslEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "SslEncrypted" -) - -// PossibleIntegrationRuntimeInternalChannelEncryptionModeValues returns an array of possible values for the IntegrationRuntimeInternalChannelEncryptionMode const type. -func PossibleIntegrationRuntimeInternalChannelEncryptionModeValues() []IntegrationRuntimeInternalChannelEncryptionMode { - return []IntegrationRuntimeInternalChannelEncryptionMode{NotEncrypted, NotSet, SslEncrypted} -} - -// IntegrationRuntimeLicenseType enumerates the values for integration runtime license type. -type IntegrationRuntimeLicenseType string - -const ( - // BasePrice ... - BasePrice IntegrationRuntimeLicenseType = "BasePrice" - // LicenseIncluded ... - LicenseIncluded IntegrationRuntimeLicenseType = "LicenseIncluded" -) - -// PossibleIntegrationRuntimeLicenseTypeValues returns an array of possible values for the IntegrationRuntimeLicenseType const type. -func PossibleIntegrationRuntimeLicenseTypeValues() []IntegrationRuntimeLicenseType { - return []IntegrationRuntimeLicenseType{BasePrice, LicenseIncluded} -} - -// IntegrationRuntimeState enumerates the values for integration runtime state. -type IntegrationRuntimeState string - -const ( - // Initial ... - Initial IntegrationRuntimeState = "Initial" - // Limited ... - Limited IntegrationRuntimeState = "Limited" - // NeedRegistration ... - NeedRegistration IntegrationRuntimeState = "NeedRegistration" - // Offline ... - Offline IntegrationRuntimeState = "Offline" - // Online ... - Online IntegrationRuntimeState = "Online" - // Started ... - Started IntegrationRuntimeState = "Started" - // Starting ... - Starting IntegrationRuntimeState = "Starting" - // Stopped ... - Stopped IntegrationRuntimeState = "Stopped" - // Stopping ... - Stopping IntegrationRuntimeState = "Stopping" -) - -// PossibleIntegrationRuntimeStateValues returns an array of possible values for the IntegrationRuntimeState const type. -func PossibleIntegrationRuntimeStateValues() []IntegrationRuntimeState { - return []IntegrationRuntimeState{Initial, Limited, NeedRegistration, Offline, Online, Started, Starting, Stopped, Stopping} -} - -// IntegrationRuntimeType enumerates the values for integration runtime type. -type IntegrationRuntimeType string - -const ( - // Managed ... - Managed IntegrationRuntimeType = "Managed" - // SelfHosted ... - SelfHosted IntegrationRuntimeType = "SelfHosted" -) - -// PossibleIntegrationRuntimeTypeValues returns an array of possible values for the IntegrationRuntimeType const type. -func PossibleIntegrationRuntimeTypeValues() []IntegrationRuntimeType { - return []IntegrationRuntimeType{Managed, SelfHosted} -} - -// IntegrationRuntimeUpdateResult enumerates the values for integration runtime update result. -type IntegrationRuntimeUpdateResult string - -const ( - // Fail ... - Fail IntegrationRuntimeUpdateResult = "Fail" - // Succeed ... - Succeed IntegrationRuntimeUpdateResult = "Succeed" -) - -// PossibleIntegrationRuntimeUpdateResultValues returns an array of possible values for the IntegrationRuntimeUpdateResult const type. -func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateResult { - return []IntegrationRuntimeUpdateResult{Fail, Succeed} -} - -// JSONFormatFilePattern enumerates the values for json format file pattern. -type JSONFormatFilePattern string - -const ( - // ArrayOfObjects ... - ArrayOfObjects JSONFormatFilePattern = "arrayOfObjects" - // SetOfObjects ... - SetOfObjects JSONFormatFilePattern = "setOfObjects" -) - -// PossibleJSONFormatFilePatternValues returns an array of possible values for the JSONFormatFilePattern const type. -func PossibleJSONFormatFilePatternValues() []JSONFormatFilePattern { - return []JSONFormatFilePattern{ArrayOfObjects, SetOfObjects} -} - -// ManagedIntegrationRuntimeNodeStatus enumerates the values for managed integration runtime node status. -type ManagedIntegrationRuntimeNodeStatus string - -const ( - // ManagedIntegrationRuntimeNodeStatusAvailable ... - ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = "Available" - // ManagedIntegrationRuntimeNodeStatusRecycling ... - ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = "Recycling" - // ManagedIntegrationRuntimeNodeStatusStarting ... - ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = "Starting" - // ManagedIntegrationRuntimeNodeStatusUnavailable ... - ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable" -) - -// PossibleManagedIntegrationRuntimeNodeStatusValues returns an array of possible values for the ManagedIntegrationRuntimeNodeStatus const type. -func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus { - return []ManagedIntegrationRuntimeNodeStatus{ManagedIntegrationRuntimeNodeStatusAvailable, ManagedIntegrationRuntimeNodeStatusRecycling, ManagedIntegrationRuntimeNodeStatusStarting, ManagedIntegrationRuntimeNodeStatusUnavailable} -} - -// MongoDbAuthenticationType enumerates the values for mongo db authentication type. -type MongoDbAuthenticationType string - -const ( - // MongoDbAuthenticationTypeAnonymous ... - MongoDbAuthenticationTypeAnonymous MongoDbAuthenticationType = "Anonymous" - // MongoDbAuthenticationTypeBasic ... - MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = "Basic" -) - -// PossibleMongoDbAuthenticationTypeValues returns an array of possible values for the MongoDbAuthenticationType const type. -func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType { - return []MongoDbAuthenticationType{MongoDbAuthenticationTypeAnonymous, MongoDbAuthenticationTypeBasic} -} - -// ODataAuthenticationType enumerates the values for o data authentication type. -type ODataAuthenticationType string - -const ( - // ODataAuthenticationTypeAnonymous ... - ODataAuthenticationTypeAnonymous ODataAuthenticationType = "Anonymous" - // ODataAuthenticationTypeBasic ... - ODataAuthenticationTypeBasic ODataAuthenticationType = "Basic" -) - -// PossibleODataAuthenticationTypeValues returns an array of possible values for the ODataAuthenticationType const type. -func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { - return []ODataAuthenticationType{ODataAuthenticationTypeAnonymous, ODataAuthenticationTypeBasic} -} - -// ParameterType enumerates the values for parameter type. -type ParameterType string - -const ( - // ParameterTypeArray ... - ParameterTypeArray ParameterType = "Array" - // ParameterTypeBool ... - ParameterTypeBool ParameterType = "Bool" - // ParameterTypeFloat ... - ParameterTypeFloat ParameterType = "Float" - // ParameterTypeInt ... - ParameterTypeInt ParameterType = "Int" - // ParameterTypeObject ... - ParameterTypeObject ParameterType = "Object" - // ParameterTypeSecureString ... - ParameterTypeSecureString ParameterType = "SecureString" - // ParameterTypeString ... - ParameterTypeString ParameterType = "String" -) - -// PossibleParameterTypeValues returns an array of possible values for the ParameterType const type. -func PossibleParameterTypeValues() []ParameterType { - return []ParameterType{ParameterTypeArray, ParameterTypeBool, ParameterTypeFloat, ParameterTypeInt, ParameterTypeObject, ParameterTypeSecureString, ParameterTypeString} -} - -// PhoenixAuthenticationType enumerates the values for phoenix authentication type. -type PhoenixAuthenticationType string - -const ( - // PhoenixAuthenticationTypeAnonymous ... - PhoenixAuthenticationTypeAnonymous PhoenixAuthenticationType = "Anonymous" - // PhoenixAuthenticationTypeUsernameAndPassword ... - PhoenixAuthenticationTypeUsernameAndPassword PhoenixAuthenticationType = "UsernameAndPassword" - // PhoenixAuthenticationTypeWindowsAzureHDInsightService ... - PhoenixAuthenticationTypeWindowsAzureHDInsightService PhoenixAuthenticationType = "WindowsAzureHDInsightService" -) - -// PossiblePhoenixAuthenticationTypeValues returns an array of possible values for the PhoenixAuthenticationType const type. -func PossiblePhoenixAuthenticationTypeValues() []PhoenixAuthenticationType { - return []PhoenixAuthenticationType{PhoenixAuthenticationTypeAnonymous, PhoenixAuthenticationTypeUsernameAndPassword, PhoenixAuthenticationTypeWindowsAzureHDInsightService} -} - -// PipelineRunQueryFilterOperand enumerates the values for pipeline run query filter operand. -type PipelineRunQueryFilterOperand string - -const ( - // PipelineName ... - PipelineName PipelineRunQueryFilterOperand = "PipelineName" - // RunEnd ... - RunEnd PipelineRunQueryFilterOperand = "RunEnd" - // RunStart ... - RunStart PipelineRunQueryFilterOperand = "RunStart" - // Status ... - Status PipelineRunQueryFilterOperand = "Status" -) - -// PossiblePipelineRunQueryFilterOperandValues returns an array of possible values for the PipelineRunQueryFilterOperand const type. -func PossiblePipelineRunQueryFilterOperandValues() []PipelineRunQueryFilterOperand { - return []PipelineRunQueryFilterOperand{PipelineName, RunEnd, RunStart, Status} -} - -// PipelineRunQueryFilterOperator enumerates the values for pipeline run query filter operator. -type PipelineRunQueryFilterOperator string - -const ( - // Equals ... - Equals PipelineRunQueryFilterOperator = "Equals" - // In ... - In PipelineRunQueryFilterOperator = "In" - // NotEquals ... - NotEquals PipelineRunQueryFilterOperator = "NotEquals" - // NotIn ... - NotIn PipelineRunQueryFilterOperator = "NotIn" -) - -// PossiblePipelineRunQueryFilterOperatorValues returns an array of possible values for the PipelineRunQueryFilterOperator const type. -func PossiblePipelineRunQueryFilterOperatorValues() []PipelineRunQueryFilterOperator { - return []PipelineRunQueryFilterOperator{Equals, In, NotEquals, NotIn} -} - -// PipelineRunQueryOrder enumerates the values for pipeline run query order. -type PipelineRunQueryOrder string - -const ( - // ASC ... - ASC PipelineRunQueryOrder = "ASC" - // DESC ... - DESC PipelineRunQueryOrder = "DESC" -) - -// PossiblePipelineRunQueryOrderValues returns an array of possible values for the PipelineRunQueryOrder const type. -func PossiblePipelineRunQueryOrderValues() []PipelineRunQueryOrder { - return []PipelineRunQueryOrder{ASC, DESC} -} - -// PipelineRunQueryOrderByField enumerates the values for pipeline run query order by field. -type PipelineRunQueryOrderByField string - -const ( - // PipelineRunQueryOrderByFieldRunEnd ... - PipelineRunQueryOrderByFieldRunEnd PipelineRunQueryOrderByField = "RunEnd" - // PipelineRunQueryOrderByFieldRunStart ... - PipelineRunQueryOrderByFieldRunStart PipelineRunQueryOrderByField = "RunStart" -) - -// PossiblePipelineRunQueryOrderByFieldValues returns an array of possible values for the PipelineRunQueryOrderByField const type. -func PossiblePipelineRunQueryOrderByFieldValues() []PipelineRunQueryOrderByField { - return []PipelineRunQueryOrderByField{PipelineRunQueryOrderByFieldRunEnd, PipelineRunQueryOrderByFieldRunStart} -} - -// PrestoAuthenticationType enumerates the values for presto authentication type. -type PrestoAuthenticationType string - -const ( - // PrestoAuthenticationTypeAnonymous ... - PrestoAuthenticationTypeAnonymous PrestoAuthenticationType = "Anonymous" - // PrestoAuthenticationTypeLDAP ... - PrestoAuthenticationTypeLDAP PrestoAuthenticationType = "LDAP" -) - -// PossiblePrestoAuthenticationTypeValues returns an array of possible values for the PrestoAuthenticationType const type. -func PossiblePrestoAuthenticationTypeValues() []PrestoAuthenticationType { - return []PrestoAuthenticationType{PrestoAuthenticationTypeAnonymous, PrestoAuthenticationTypeLDAP} -} - -// RecurrenceFrequency enumerates the values for recurrence frequency. -type RecurrenceFrequency string - -const ( - // Day ... - Day RecurrenceFrequency = "Day" - // Hour ... - Hour RecurrenceFrequency = "Hour" - // Minute ... - Minute RecurrenceFrequency = "Minute" - // Month ... - Month RecurrenceFrequency = "Month" - // NotSpecified ... - NotSpecified RecurrenceFrequency = "NotSpecified" - // Week ... - Week RecurrenceFrequency = "Week" - // Year ... - Year RecurrenceFrequency = "Year" -) - -// PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type. -func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency { - return []RecurrenceFrequency{Day, Hour, Minute, Month, NotSpecified, Week, Year} -} - -// SapHanaAuthenticationType enumerates the values for sap hana authentication type. -type SapHanaAuthenticationType string - -const ( - // SapHanaAuthenticationTypeBasic ... - SapHanaAuthenticationTypeBasic SapHanaAuthenticationType = "Basic" - // SapHanaAuthenticationTypeWindows ... - SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = "Windows" -) - -// PossibleSapHanaAuthenticationTypeValues returns an array of possible values for the SapHanaAuthenticationType const type. -func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType { - return []SapHanaAuthenticationType{SapHanaAuthenticationTypeBasic, SapHanaAuthenticationTypeWindows} -} - -// SelfHostedIntegrationRuntimeNodeStatus enumerates the values for self hosted integration runtime node -// status. -type SelfHostedIntegrationRuntimeNodeStatus string - -const ( - // SelfHostedIntegrationRuntimeNodeStatusInitializeFailed ... - SelfHostedIntegrationRuntimeNodeStatusInitializeFailed SelfHostedIntegrationRuntimeNodeStatus = "InitializeFailed" - // SelfHostedIntegrationRuntimeNodeStatusInitializing ... - SelfHostedIntegrationRuntimeNodeStatusInitializing SelfHostedIntegrationRuntimeNodeStatus = "Initializing" - // SelfHostedIntegrationRuntimeNodeStatusLimited ... - SelfHostedIntegrationRuntimeNodeStatusLimited SelfHostedIntegrationRuntimeNodeStatus = "Limited" - // SelfHostedIntegrationRuntimeNodeStatusNeedRegistration ... - SelfHostedIntegrationRuntimeNodeStatusNeedRegistration SelfHostedIntegrationRuntimeNodeStatus = "NeedRegistration" - // SelfHostedIntegrationRuntimeNodeStatusOffline ... - SelfHostedIntegrationRuntimeNodeStatusOffline SelfHostedIntegrationRuntimeNodeStatus = "Offline" - // SelfHostedIntegrationRuntimeNodeStatusOnline ... - SelfHostedIntegrationRuntimeNodeStatusOnline SelfHostedIntegrationRuntimeNodeStatus = "Online" - // SelfHostedIntegrationRuntimeNodeStatusUpgrading ... - SelfHostedIntegrationRuntimeNodeStatusUpgrading SelfHostedIntegrationRuntimeNodeStatus = "Upgrading" -) - -// PossibleSelfHostedIntegrationRuntimeNodeStatusValues returns an array of possible values for the SelfHostedIntegrationRuntimeNodeStatus const type. -func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus { - return []SelfHostedIntegrationRuntimeNodeStatus{SelfHostedIntegrationRuntimeNodeStatusInitializeFailed, SelfHostedIntegrationRuntimeNodeStatusInitializing, SelfHostedIntegrationRuntimeNodeStatusLimited, SelfHostedIntegrationRuntimeNodeStatusNeedRegistration, SelfHostedIntegrationRuntimeNodeStatusOffline, SelfHostedIntegrationRuntimeNodeStatusOnline, SelfHostedIntegrationRuntimeNodeStatusUpgrading} -} - -// ServiceNowAuthenticationType enumerates the values for service now authentication type. -type ServiceNowAuthenticationType string - -const ( - // ServiceNowAuthenticationTypeBasic ... - ServiceNowAuthenticationTypeBasic ServiceNowAuthenticationType = "Basic" - // ServiceNowAuthenticationTypeOAuth2 ... - ServiceNowAuthenticationTypeOAuth2 ServiceNowAuthenticationType = "OAuth2" -) - -// PossibleServiceNowAuthenticationTypeValues returns an array of possible values for the ServiceNowAuthenticationType const type. -func PossibleServiceNowAuthenticationTypeValues() []ServiceNowAuthenticationType { - return []ServiceNowAuthenticationType{ServiceNowAuthenticationTypeBasic, ServiceNowAuthenticationTypeOAuth2} -} - -// SftpAuthenticationType enumerates the values for sftp authentication type. -type SftpAuthenticationType string - -const ( - // SftpAuthenticationTypeBasic ... - SftpAuthenticationTypeBasic SftpAuthenticationType = "Basic" - // SftpAuthenticationTypeSSHPublicKey ... - SftpAuthenticationTypeSSHPublicKey SftpAuthenticationType = "SshPublicKey" -) - -// PossibleSftpAuthenticationTypeValues returns an array of possible values for the SftpAuthenticationType const type. -func PossibleSftpAuthenticationTypeValues() []SftpAuthenticationType { - return []SftpAuthenticationType{SftpAuthenticationTypeBasic, SftpAuthenticationTypeSSHPublicKey} -} - -// SparkAuthenticationType enumerates the values for spark authentication type. -type SparkAuthenticationType string - -const ( - // SparkAuthenticationTypeAnonymous ... - SparkAuthenticationTypeAnonymous SparkAuthenticationType = "Anonymous" - // SparkAuthenticationTypeUsername ... - SparkAuthenticationTypeUsername SparkAuthenticationType = "Username" - // SparkAuthenticationTypeUsernameAndPassword ... - SparkAuthenticationTypeUsernameAndPassword SparkAuthenticationType = "UsernameAndPassword" - // SparkAuthenticationTypeWindowsAzureHDInsightService ... - SparkAuthenticationTypeWindowsAzureHDInsightService SparkAuthenticationType = "WindowsAzureHDInsightService" -) - -// PossibleSparkAuthenticationTypeValues returns an array of possible values for the SparkAuthenticationType const type. -func PossibleSparkAuthenticationTypeValues() []SparkAuthenticationType { - return []SparkAuthenticationType{SparkAuthenticationTypeAnonymous, SparkAuthenticationTypeUsername, SparkAuthenticationTypeUsernameAndPassword, SparkAuthenticationTypeWindowsAzureHDInsightService} -} - -// SparkServerType enumerates the values for spark server type. -type SparkServerType string - -const ( - // SharkServer ... - SharkServer SparkServerType = "SharkServer" - // SharkServer2 ... - SharkServer2 SparkServerType = "SharkServer2" - // SparkThriftServer ... - SparkThriftServer SparkServerType = "SparkThriftServer" -) - -// PossibleSparkServerTypeValues returns an array of possible values for the SparkServerType const type. -func PossibleSparkServerTypeValues() []SparkServerType { - return []SparkServerType{SharkServer, SharkServer2, SparkThriftServer} -} - -// SparkThriftTransportProtocol enumerates the values for spark thrift transport protocol. -type SparkThriftTransportProtocol string - -const ( - // SparkThriftTransportProtocolBinary ... - SparkThriftTransportProtocolBinary SparkThriftTransportProtocol = "Binary" - // SparkThriftTransportProtocolHTTP ... - SparkThriftTransportProtocolHTTP SparkThriftTransportProtocol = "HTTP " - // SparkThriftTransportProtocolSASL ... - SparkThriftTransportProtocolSASL SparkThriftTransportProtocol = "SASL" -) - -// PossibleSparkThriftTransportProtocolValues returns an array of possible values for the SparkThriftTransportProtocol const type. -func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol { - return []SparkThriftTransportProtocol{SparkThriftTransportProtocolBinary, SparkThriftTransportProtocolHTTP, SparkThriftTransportProtocolSASL} -} - -// SsisPackageLocationType enumerates the values for ssis package location type. -type SsisPackageLocationType string - -const ( - // File ... - File SsisPackageLocationType = "File" - // SSISDB ... - SSISDB SsisPackageLocationType = "SSISDB" -) - -// PossibleSsisPackageLocationTypeValues returns an array of possible values for the SsisPackageLocationType const type. -func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { - return []SsisPackageLocationType{File, SSISDB} -} - -// SybaseAuthenticationType enumerates the values for sybase authentication type. -type SybaseAuthenticationType string - -const ( - // SybaseAuthenticationTypeBasic ... - SybaseAuthenticationTypeBasic SybaseAuthenticationType = "Basic" - // SybaseAuthenticationTypeWindows ... - SybaseAuthenticationTypeWindows SybaseAuthenticationType = "Windows" -) - -// PossibleSybaseAuthenticationTypeValues returns an array of possible values for the SybaseAuthenticationType const type. -func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType { - return []SybaseAuthenticationType{SybaseAuthenticationTypeBasic, SybaseAuthenticationTypeWindows} -} - -// TeradataAuthenticationType enumerates the values for teradata authentication type. -type TeradataAuthenticationType string - -const ( - // TeradataAuthenticationTypeBasic ... - TeradataAuthenticationTypeBasic TeradataAuthenticationType = "Basic" - // TeradataAuthenticationTypeWindows ... - TeradataAuthenticationTypeWindows TeradataAuthenticationType = "Windows" -) - -// PossibleTeradataAuthenticationTypeValues returns an array of possible values for the TeradataAuthenticationType const type. -func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType { - return []TeradataAuthenticationType{TeradataAuthenticationTypeBasic, TeradataAuthenticationTypeWindows} -} - -// TriggerRunStatus enumerates the values for trigger run status. -type TriggerRunStatus string - -const ( - // TriggerRunStatusFailed ... - TriggerRunStatusFailed TriggerRunStatus = "Failed" - // TriggerRunStatusInprogress ... - TriggerRunStatusInprogress TriggerRunStatus = "Inprogress" - // TriggerRunStatusSucceeded ... - TriggerRunStatusSucceeded TriggerRunStatus = "Succeeded" -) - -// PossibleTriggerRunStatusValues returns an array of possible values for the TriggerRunStatus const type. -func PossibleTriggerRunStatusValues() []TriggerRunStatus { - return []TriggerRunStatus{TriggerRunStatusFailed, TriggerRunStatusInprogress, TriggerRunStatusSucceeded} -} - -// TriggerRuntimeState enumerates the values for trigger runtime state. -type TriggerRuntimeState string - -const ( - // TriggerRuntimeStateDisabled ... - TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled" - // TriggerRuntimeStateStarted ... - TriggerRuntimeStateStarted TriggerRuntimeState = "Started" - // TriggerRuntimeStateStopped ... - TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped" -) - -// PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type. -func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState { - return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped} -} - -// TumblingWindowFrequency enumerates the values for tumbling window frequency. -type TumblingWindowFrequency string - -const ( - // TumblingWindowFrequencyHour ... - TumblingWindowFrequencyHour TumblingWindowFrequency = "Hour" - // TumblingWindowFrequencyMinute ... - TumblingWindowFrequencyMinute TumblingWindowFrequency = "Minute" -) - -// PossibleTumblingWindowFrequencyValues returns an array of possible values for the TumblingWindowFrequency const type. -func PossibleTumblingWindowFrequencyValues() []TumblingWindowFrequency { - return []TumblingWindowFrequency{TumblingWindowFrequencyHour, TumblingWindowFrequencyMinute} -} - -// Type enumerates the values for type. -type Type string - -const ( - // TypeAzureKeyVaultSecret ... - TypeAzureKeyVaultSecret Type = "AzureKeyVaultSecret" - // TypeSecretBase ... - TypeSecretBase Type = "SecretBase" - // TypeSecureString ... - TypeSecureString Type = "SecureString" -) - -// PossibleTypeValues returns an array of possible values for the Type const type. -func PossibleTypeValues() []Type { - return []Type{TypeAzureKeyVaultSecret, TypeSecretBase, TypeSecureString} -} - -// TypeBasicActivity enumerates the values for type basic activity. -type TypeBasicActivity string - -const ( - // TypeActivity ... - TypeActivity TypeBasicActivity = "Activity" - // TypeAzureMLBatchExecution ... - TypeAzureMLBatchExecution TypeBasicActivity = "AzureMLBatchExecution" - // TypeAzureMLUpdateResource ... - TypeAzureMLUpdateResource TypeBasicActivity = "AzureMLUpdateResource" - // TypeContainer ... - TypeContainer TypeBasicActivity = "Container" - // TypeCopy ... - TypeCopy TypeBasicActivity = "Copy" - // TypeCustom ... - TypeCustom TypeBasicActivity = "Custom" - // TypeDatabricksNotebook ... - TypeDatabricksNotebook TypeBasicActivity = "DatabricksNotebook" - // TypeDataLakeAnalyticsUSQL ... - TypeDataLakeAnalyticsUSQL TypeBasicActivity = "DataLakeAnalyticsU-SQL" - // TypeExecutePipeline ... - TypeExecutePipeline TypeBasicActivity = "ExecutePipeline" - // TypeExecuteSSISPackage ... - TypeExecuteSSISPackage TypeBasicActivity = "ExecuteSSISPackage" - // TypeExecution ... - TypeExecution TypeBasicActivity = "Execution" - // TypeFilter ... - TypeFilter TypeBasicActivity = "Filter" - // TypeForEach ... - TypeForEach TypeBasicActivity = "ForEach" - // TypeGetMetadata ... - TypeGetMetadata TypeBasicActivity = "GetMetadata" - // TypeHDInsightHive ... - TypeHDInsightHive TypeBasicActivity = "HDInsightHive" - // TypeHDInsightMapReduce ... - TypeHDInsightMapReduce TypeBasicActivity = "HDInsightMapReduce" - // TypeHDInsightPig ... - TypeHDInsightPig TypeBasicActivity = "HDInsightPig" - // TypeHDInsightSpark ... - TypeHDInsightSpark TypeBasicActivity = "HDInsightSpark" - // TypeHDInsightStreaming ... - TypeHDInsightStreaming TypeBasicActivity = "HDInsightStreaming" - // TypeIfCondition ... - TypeIfCondition TypeBasicActivity = "IfCondition" - // TypeLookup ... - TypeLookup TypeBasicActivity = "Lookup" - // TypeSQLServerStoredProcedure ... - TypeSQLServerStoredProcedure TypeBasicActivity = "SqlServerStoredProcedure" - // TypeUntil ... - TypeUntil TypeBasicActivity = "Until" - // TypeWait ... - TypeWait TypeBasicActivity = "Wait" - // TypeWebActivity ... - TypeWebActivity TypeBasicActivity = "WebActivity" -) - -// PossibleTypeBasicActivityValues returns an array of possible values for the TypeBasicActivity const type. -func PossibleTypeBasicActivityValues() []TypeBasicActivity { - return []TypeBasicActivity{TypeActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDataLakeAnalyticsUSQL, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSQLServerStoredProcedure, TypeUntil, TypeWait, TypeWebActivity} -} - -// TypeBasicCopySink enumerates the values for type basic copy sink. -type TypeBasicCopySink string - -const ( - // TypeAzureDataLakeStoreSink ... - TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink" - // TypeAzureQueueSink ... - TypeAzureQueueSink TypeBasicCopySink = "AzureQueueSink" - // TypeAzureSearchIndexSink ... - TypeAzureSearchIndexSink TypeBasicCopySink = "AzureSearchIndexSink" - // TypeAzureTableSink ... - TypeAzureTableSink TypeBasicCopySink = "AzureTableSink" - // TypeBlobSink ... - TypeBlobSink TypeBasicCopySink = "BlobSink" - // TypeCopySink ... - TypeCopySink TypeBasicCopySink = "CopySink" - // TypeDocumentDbCollectionSink ... - TypeDocumentDbCollectionSink TypeBasicCopySink = "DocumentDbCollectionSink" - // TypeDynamicsSink ... - TypeDynamicsSink TypeBasicCopySink = "DynamicsSink" - // TypeFileSystemSink ... - TypeFileSystemSink TypeBasicCopySink = "FileSystemSink" - // TypeOdbcSink ... - TypeOdbcSink TypeBasicCopySink = "OdbcSink" - // TypeOracleSink ... - TypeOracleSink TypeBasicCopySink = "OracleSink" - // TypeSalesforceSink ... - TypeSalesforceSink TypeBasicCopySink = "SalesforceSink" - // TypeSapCloudForCustomerSink ... - TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink" - // TypeSQLDWSink ... - TypeSQLDWSink TypeBasicCopySink = "SqlDWSink" - // TypeSQLSink ... - TypeSQLSink TypeBasicCopySink = "SqlSink" -) - -// PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type. -func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink { - return []TypeBasicCopySink{TypeAzureDataLakeStoreSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureTableSink, TypeBlobSink, TypeCopySink, TypeDocumentDbCollectionSink, TypeDynamicsSink, TypeFileSystemSink, TypeOdbcSink, TypeOracleSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLSink} -} - -// TypeBasicCopySource enumerates the values for type basic copy source. -type TypeBasicCopySource string - -const ( - // TypeAmazonMWSSource ... - TypeAmazonMWSSource TypeBasicCopySource = "AmazonMWSSource" - // TypeAmazonRedshiftSource ... - TypeAmazonRedshiftSource TypeBasicCopySource = "AmazonRedshiftSource" - // TypeAzureDataLakeStoreSource ... - TypeAzureDataLakeStoreSource TypeBasicCopySource = "AzureDataLakeStoreSource" - // TypeAzureMySQLSource ... - TypeAzureMySQLSource TypeBasicCopySource = "AzureMySqlSource" - // TypeAzurePostgreSQLSource ... - TypeAzurePostgreSQLSource TypeBasicCopySource = "AzurePostgreSqlSource" - // TypeAzureTableSource ... - TypeAzureTableSource TypeBasicCopySource = "AzureTableSource" - // TypeBlobSource ... - TypeBlobSource TypeBasicCopySource = "BlobSource" - // TypeCassandraSource ... - TypeCassandraSource TypeBasicCopySource = "CassandraSource" - // TypeConcurSource ... - TypeConcurSource TypeBasicCopySource = "ConcurSource" - // TypeCopySource ... - TypeCopySource TypeBasicCopySource = "CopySource" - // TypeCouchbaseSource ... - TypeCouchbaseSource TypeBasicCopySource = "CouchbaseSource" - // TypeDocumentDbCollectionSource ... - TypeDocumentDbCollectionSource TypeBasicCopySource = "DocumentDbCollectionSource" - // TypeDrillSource ... - TypeDrillSource TypeBasicCopySource = "DrillSource" - // TypeDynamicsSource ... - TypeDynamicsSource TypeBasicCopySource = "DynamicsSource" - // TypeEloquaSource ... - TypeEloquaSource TypeBasicCopySource = "EloquaSource" - // TypeFileSystemSource ... - TypeFileSystemSource TypeBasicCopySource = "FileSystemSource" - // TypeGoogleBigQuerySource ... - TypeGoogleBigQuerySource TypeBasicCopySource = "GoogleBigQuerySource" - // TypeGreenplumSource ... - TypeGreenplumSource TypeBasicCopySource = "GreenplumSource" - // TypeHBaseSource ... - TypeHBaseSource TypeBasicCopySource = "HBaseSource" - // TypeHdfsSource ... - TypeHdfsSource TypeBasicCopySource = "HdfsSource" - // TypeHiveSource ... - TypeHiveSource TypeBasicCopySource = "HiveSource" - // TypeHTTPSource ... - TypeHTTPSource TypeBasicCopySource = "HttpSource" - // TypeHubspotSource ... - TypeHubspotSource TypeBasicCopySource = "HubspotSource" - // TypeImpalaSource ... - TypeImpalaSource TypeBasicCopySource = "ImpalaSource" - // TypeJiraSource ... - TypeJiraSource TypeBasicCopySource = "JiraSource" - // TypeMagentoSource ... - TypeMagentoSource TypeBasicCopySource = "MagentoSource" - // TypeMariaDBSource ... - TypeMariaDBSource TypeBasicCopySource = "MariaDBSource" - // TypeMarketoSource ... - TypeMarketoSource TypeBasicCopySource = "MarketoSource" - // TypeMongoDbSource ... - TypeMongoDbSource TypeBasicCopySource = "MongoDbSource" - // TypeNetezzaSource ... - TypeNetezzaSource TypeBasicCopySource = "NetezzaSource" - // TypeOracleSource ... - TypeOracleSource TypeBasicCopySource = "OracleSource" - // TypePaypalSource ... - TypePaypalSource TypeBasicCopySource = "PaypalSource" - // TypePhoenixSource ... - TypePhoenixSource TypeBasicCopySource = "PhoenixSource" - // TypePrestoSource ... - TypePrestoSource TypeBasicCopySource = "PrestoSource" - // TypeQuickBooksSource ... - TypeQuickBooksSource TypeBasicCopySource = "QuickBooksSource" - // TypeRelationalSource ... - TypeRelationalSource TypeBasicCopySource = "RelationalSource" - // TypeResponsysSource ... - TypeResponsysSource TypeBasicCopySource = "ResponsysSource" - // TypeSalesforceMarketingCloudSource ... - TypeSalesforceMarketingCloudSource TypeBasicCopySource = "SalesforceMarketingCloudSource" - // TypeSalesforceSource ... - TypeSalesforceSource TypeBasicCopySource = "SalesforceSource" - // TypeSapCloudForCustomerSource ... - TypeSapCloudForCustomerSource TypeBasicCopySource = "SapCloudForCustomerSource" - // TypeSapEccSource ... - TypeSapEccSource TypeBasicCopySource = "SapEccSource" - // TypeServiceNowSource ... - TypeServiceNowSource TypeBasicCopySource = "ServiceNowSource" - // TypeShopifySource ... - TypeShopifySource TypeBasicCopySource = "ShopifySource" - // TypeSparkSource ... - TypeSparkSource TypeBasicCopySource = "SparkSource" - // TypeSQLDWSource ... - TypeSQLDWSource TypeBasicCopySource = "SqlDWSource" - // TypeSQLSource ... - TypeSQLSource TypeBasicCopySource = "SqlSource" - // TypeSquareSource ... - TypeSquareSource TypeBasicCopySource = "SquareSource" - // TypeVerticaSource ... - TypeVerticaSource TypeBasicCopySource = "VerticaSource" - // TypeWebSource ... - TypeWebSource TypeBasicCopySource = "WebSource" - // TypeXeroSource ... - TypeXeroSource TypeBasicCopySource = "XeroSource" - // TypeZohoSource ... - TypeZohoSource TypeBasicCopySource = "ZohoSource" -) - -// PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type. -func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource { - return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureTableSource, TypeBlobSource, TypeCassandraSource, TypeConcurSource, TypeCopySource, TypeCouchbaseSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMongoDbSource, TypeNetezzaSource, TypeOracleSource, TypePaypalSource, TypePhoenixSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeSalesforceMarketingCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLSource, TypeSquareSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} -} - -// TypeBasicDataset enumerates the values for type basic dataset. -type TypeBasicDataset string - -const ( - // TypeAmazonMWSObject ... - TypeAmazonMWSObject TypeBasicDataset = "AmazonMWSObject" - // TypeAmazonS3Object ... - TypeAmazonS3Object TypeBasicDataset = "AmazonS3Object" - // TypeAzureBlob ... - TypeAzureBlob TypeBasicDataset = "AzureBlob" - // TypeAzureDataLakeStoreFile ... - TypeAzureDataLakeStoreFile TypeBasicDataset = "AzureDataLakeStoreFile" - // TypeAzureMySQLTable ... - TypeAzureMySQLTable TypeBasicDataset = "AzureMySqlTable" - // TypeAzurePostgreSQLTable ... - TypeAzurePostgreSQLTable TypeBasicDataset = "AzurePostgreSqlTable" - // TypeAzureSearchIndex ... - TypeAzureSearchIndex TypeBasicDataset = "AzureSearchIndex" - // TypeAzureSQLDWTable ... - TypeAzureSQLDWTable TypeBasicDataset = "AzureSqlDWTable" - // TypeAzureSQLTable ... - TypeAzureSQLTable TypeBasicDataset = "AzureSqlTable" - // TypeAzureTable ... - TypeAzureTable TypeBasicDataset = "AzureTable" - // TypeCassandraTable ... - TypeCassandraTable TypeBasicDataset = "CassandraTable" - // TypeConcurObject ... - TypeConcurObject TypeBasicDataset = "ConcurObject" - // TypeCouchbaseTable ... - TypeCouchbaseTable TypeBasicDataset = "CouchbaseTable" - // TypeCustomDataset ... - TypeCustomDataset TypeBasicDataset = "CustomDataset" - // TypeDataset ... - TypeDataset TypeBasicDataset = "Dataset" - // TypeDocumentDbCollection ... - TypeDocumentDbCollection TypeBasicDataset = "DocumentDbCollection" - // TypeDrillTable ... - TypeDrillTable TypeBasicDataset = "DrillTable" - // TypeDynamicsEntity ... - TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity" - // TypeEloquaObject ... - TypeEloquaObject TypeBasicDataset = "EloquaObject" - // TypeFileShare ... - TypeFileShare TypeBasicDataset = "FileShare" - // TypeGoogleBigQueryObject ... - TypeGoogleBigQueryObject TypeBasicDataset = "GoogleBigQueryObject" - // TypeGreenplumTable ... - TypeGreenplumTable TypeBasicDataset = "GreenplumTable" - // TypeHBaseObject ... - TypeHBaseObject TypeBasicDataset = "HBaseObject" - // TypeHiveObject ... - TypeHiveObject TypeBasicDataset = "HiveObject" - // TypeHTTPFile ... - TypeHTTPFile TypeBasicDataset = "HttpFile" - // TypeHubspotObject ... - TypeHubspotObject TypeBasicDataset = "HubspotObject" - // TypeImpalaObject ... - TypeImpalaObject TypeBasicDataset = "ImpalaObject" - // TypeJiraObject ... - TypeJiraObject TypeBasicDataset = "JiraObject" - // TypeMagentoObject ... - TypeMagentoObject TypeBasicDataset = "MagentoObject" - // TypeMariaDBTable ... - TypeMariaDBTable TypeBasicDataset = "MariaDBTable" - // TypeMarketoObject ... - TypeMarketoObject TypeBasicDataset = "MarketoObject" - // TypeMongoDbCollection ... - TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection" - // TypeNetezzaTable ... - TypeNetezzaTable TypeBasicDataset = "NetezzaTable" - // TypeODataResource ... - TypeODataResource TypeBasicDataset = "ODataResource" - // TypeOracleTable ... - TypeOracleTable TypeBasicDataset = "OracleTable" - // TypePaypalObject ... - TypePaypalObject TypeBasicDataset = "PaypalObject" - // TypePhoenixObject ... - TypePhoenixObject TypeBasicDataset = "PhoenixObject" - // TypePrestoObject ... - TypePrestoObject TypeBasicDataset = "PrestoObject" - // TypeQuickBooksObject ... - TypeQuickBooksObject TypeBasicDataset = "QuickBooksObject" - // TypeRelationalTable ... - TypeRelationalTable TypeBasicDataset = "RelationalTable" - // TypeResponsysObject ... - TypeResponsysObject TypeBasicDataset = "ResponsysObject" - // TypeSalesforceMarketingCloudObject ... - TypeSalesforceMarketingCloudObject TypeBasicDataset = "SalesforceMarketingCloudObject" - // TypeSalesforceObject ... - TypeSalesforceObject TypeBasicDataset = "SalesforceObject" - // TypeSapCloudForCustomerResource ... - TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource" - // TypeSapEccResource ... - TypeSapEccResource TypeBasicDataset = "SapEccResource" - // TypeServiceNowObject ... - TypeServiceNowObject TypeBasicDataset = "ServiceNowObject" - // TypeShopifyObject ... - TypeShopifyObject TypeBasicDataset = "ShopifyObject" - // TypeSparkObject ... - TypeSparkObject TypeBasicDataset = "SparkObject" - // TypeSQLServerTable ... - TypeSQLServerTable TypeBasicDataset = "SqlServerTable" - // TypeSquareObject ... - TypeSquareObject TypeBasicDataset = "SquareObject" - // TypeVerticaTable ... - TypeVerticaTable TypeBasicDataset = "VerticaTable" - // TypeWebTable ... - TypeWebTable TypeBasicDataset = "WebTable" - // TypeXeroObject ... - TypeXeroObject TypeBasicDataset = "XeroObject" - // TypeZohoObject ... - TypeZohoObject TypeBasicDataset = "ZohoObject" -) - -// PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type. -func PossibleTypeBasicDatasetValues() []TypeBasicDataset { - return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLTable, TypeAzureTable, TypeCassandraTable, TypeConcurObject, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMongoDbCollection, TypeNetezzaTable, TypeODataResource, TypeOracleTable, TypePaypalObject, TypePhoenixObject, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} -} - -// TypeBasicDatasetCompression enumerates the values for type basic dataset compression. -type TypeBasicDatasetCompression string - -const ( - // TypeBZip2 ... - TypeBZip2 TypeBasicDatasetCompression = "BZip2" - // TypeDatasetCompression ... - TypeDatasetCompression TypeBasicDatasetCompression = "DatasetCompression" - // TypeDeflate ... - TypeDeflate TypeBasicDatasetCompression = "Deflate" - // TypeGZip ... - TypeGZip TypeBasicDatasetCompression = "GZip" - // TypeZipDeflate ... - TypeZipDeflate TypeBasicDatasetCompression = "ZipDeflate" -) - -// PossibleTypeBasicDatasetCompressionValues returns an array of possible values for the TypeBasicDatasetCompression const type. -func PossibleTypeBasicDatasetCompressionValues() []TypeBasicDatasetCompression { - return []TypeBasicDatasetCompression{TypeBZip2, TypeDatasetCompression, TypeDeflate, TypeGZip, TypeZipDeflate} -} - -// TypeBasicDatasetStorageFormat enumerates the values for type basic dataset storage format. -type TypeBasicDatasetStorageFormat string - -const ( - // TypeAvroFormat ... - TypeAvroFormat TypeBasicDatasetStorageFormat = "AvroFormat" - // TypeDatasetStorageFormat ... - TypeDatasetStorageFormat TypeBasicDatasetStorageFormat = "DatasetStorageFormat" - // TypeJSONFormat ... - TypeJSONFormat TypeBasicDatasetStorageFormat = "JsonFormat" - // TypeOrcFormat ... - TypeOrcFormat TypeBasicDatasetStorageFormat = "OrcFormat" - // TypeParquetFormat ... - TypeParquetFormat TypeBasicDatasetStorageFormat = "ParquetFormat" - // TypeTextFormat ... - TypeTextFormat TypeBasicDatasetStorageFormat = "TextFormat" -) - -// PossibleTypeBasicDatasetStorageFormatValues returns an array of possible values for the TypeBasicDatasetStorageFormat const type. -func PossibleTypeBasicDatasetStorageFormatValues() []TypeBasicDatasetStorageFormat { - return []TypeBasicDatasetStorageFormat{TypeAvroFormat, TypeDatasetStorageFormat, TypeJSONFormat, TypeOrcFormat, TypeParquetFormat, TypeTextFormat} -} - -// TypeBasicIntegrationRuntime enumerates the values for type basic integration runtime. -type TypeBasicIntegrationRuntime string - -const ( - // TypeIntegrationRuntime ... - TypeIntegrationRuntime TypeBasicIntegrationRuntime = "IntegrationRuntime" - // TypeManaged ... - TypeManaged TypeBasicIntegrationRuntime = "Managed" - // TypeSelfHosted ... - TypeSelfHosted TypeBasicIntegrationRuntime = "SelfHosted" -) - -// PossibleTypeBasicIntegrationRuntimeValues returns an array of possible values for the TypeBasicIntegrationRuntime const type. -func PossibleTypeBasicIntegrationRuntimeValues() []TypeBasicIntegrationRuntime { - return []TypeBasicIntegrationRuntime{TypeIntegrationRuntime, TypeManaged, TypeSelfHosted} -} - -// TypeBasicIntegrationRuntimeStatus enumerates the values for type basic integration runtime status. -type TypeBasicIntegrationRuntimeStatus string - -const ( - // TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus ... - TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus TypeBasicIntegrationRuntimeStatus = "IntegrationRuntimeStatus" - // TypeBasicIntegrationRuntimeStatusTypeManaged ... - TypeBasicIntegrationRuntimeStatusTypeManaged TypeBasicIntegrationRuntimeStatus = "Managed" - // TypeBasicIntegrationRuntimeStatusTypeSelfHosted ... - TypeBasicIntegrationRuntimeStatusTypeSelfHosted TypeBasicIntegrationRuntimeStatus = "SelfHosted" -) - -// PossibleTypeBasicIntegrationRuntimeStatusValues returns an array of possible values for the TypeBasicIntegrationRuntimeStatus const type. -func PossibleTypeBasicIntegrationRuntimeStatusValues() []TypeBasicIntegrationRuntimeStatus { - return []TypeBasicIntegrationRuntimeStatus{TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus, TypeBasicIntegrationRuntimeStatusTypeManaged, TypeBasicIntegrationRuntimeStatusTypeSelfHosted} -} - -// TypeBasicLinkedService enumerates the values for type basic linked service. -type TypeBasicLinkedService string - -const ( - // TypeAmazonMWS ... - TypeAmazonMWS TypeBasicLinkedService = "AmazonMWS" - // TypeAmazonRedshift ... - TypeAmazonRedshift TypeBasicLinkedService = "AmazonRedshift" - // TypeAmazonS3 ... - TypeAmazonS3 TypeBasicLinkedService = "AmazonS3" - // TypeAzureBatch ... - TypeAzureBatch TypeBasicLinkedService = "AzureBatch" - // TypeAzureDatabricks ... - TypeAzureDatabricks TypeBasicLinkedService = "AzureDatabricks" - // TypeAzureDataLakeAnalytics ... - TypeAzureDataLakeAnalytics TypeBasicLinkedService = "AzureDataLakeAnalytics" - // TypeAzureDataLakeStore ... - TypeAzureDataLakeStore TypeBasicLinkedService = "AzureDataLakeStore" - // TypeAzureKeyVault ... - TypeAzureKeyVault TypeBasicLinkedService = "AzureKeyVault" - // TypeAzureML ... - TypeAzureML TypeBasicLinkedService = "AzureML" - // TypeAzureMySQL ... - TypeAzureMySQL TypeBasicLinkedService = "AzureMySql" - // TypeAzurePostgreSQL ... - TypeAzurePostgreSQL TypeBasicLinkedService = "AzurePostgreSql" - // TypeAzureSearch ... - TypeAzureSearch TypeBasicLinkedService = "AzureSearch" - // TypeAzureSQLDatabase ... - TypeAzureSQLDatabase TypeBasicLinkedService = "AzureSqlDatabase" - // TypeAzureSQLDW ... - TypeAzureSQLDW TypeBasicLinkedService = "AzureSqlDW" - // TypeAzureStorage ... - TypeAzureStorage TypeBasicLinkedService = "AzureStorage" - // TypeCassandra ... - TypeCassandra TypeBasicLinkedService = "Cassandra" - // TypeConcur ... - TypeConcur TypeBasicLinkedService = "Concur" - // TypeCosmosDb ... - TypeCosmosDb TypeBasicLinkedService = "CosmosDb" - // TypeCouchbase ... - TypeCouchbase TypeBasicLinkedService = "Couchbase" - // TypeCustomDataSource ... - TypeCustomDataSource TypeBasicLinkedService = "CustomDataSource" - // TypeDb2 ... - TypeDb2 TypeBasicLinkedService = "Db2" - // TypeDrill ... - TypeDrill TypeBasicLinkedService = "Drill" - // TypeDynamics ... - TypeDynamics TypeBasicLinkedService = "Dynamics" - // TypeEloqua ... - TypeEloqua TypeBasicLinkedService = "Eloqua" - // TypeFileServer ... - TypeFileServer TypeBasicLinkedService = "FileServer" - // TypeFtpServer ... - TypeFtpServer TypeBasicLinkedService = "FtpServer" - // TypeGoogleBigQuery ... - TypeGoogleBigQuery TypeBasicLinkedService = "GoogleBigQuery" - // TypeGreenplum ... - TypeGreenplum TypeBasicLinkedService = "Greenplum" - // TypeHBase ... - TypeHBase TypeBasicLinkedService = "HBase" - // TypeHdfs ... - TypeHdfs TypeBasicLinkedService = "Hdfs" - // TypeHDInsight ... - TypeHDInsight TypeBasicLinkedService = "HDInsight" - // TypeHDInsightOnDemand ... - TypeHDInsightOnDemand TypeBasicLinkedService = "HDInsightOnDemand" - // TypeHive ... - TypeHive TypeBasicLinkedService = "Hive" - // TypeHTTPServer ... - TypeHTTPServer TypeBasicLinkedService = "HttpServer" - // TypeHubspot ... - TypeHubspot TypeBasicLinkedService = "Hubspot" - // TypeImpala ... - TypeImpala TypeBasicLinkedService = "Impala" - // TypeJira ... - TypeJira TypeBasicLinkedService = "Jira" - // TypeLinkedService ... - TypeLinkedService TypeBasicLinkedService = "LinkedService" - // TypeMagento ... - TypeMagento TypeBasicLinkedService = "Magento" - // TypeMariaDB ... - TypeMariaDB TypeBasicLinkedService = "MariaDB" - // TypeMarketo ... - TypeMarketo TypeBasicLinkedService = "Marketo" - // TypeMongoDb ... - TypeMongoDb TypeBasicLinkedService = "MongoDb" - // TypeMySQL ... - TypeMySQL TypeBasicLinkedService = "MySql" - // TypeNetezza ... - TypeNetezza TypeBasicLinkedService = "Netezza" - // TypeOData ... - TypeOData TypeBasicLinkedService = "OData" - // TypeOdbc ... - TypeOdbc TypeBasicLinkedService = "Odbc" - // TypeOracle ... - TypeOracle TypeBasicLinkedService = "Oracle" - // TypePaypal ... - TypePaypal TypeBasicLinkedService = "Paypal" - // TypePhoenix ... - TypePhoenix TypeBasicLinkedService = "Phoenix" - // TypePostgreSQL ... - TypePostgreSQL TypeBasicLinkedService = "PostgreSql" - // TypePresto ... - TypePresto TypeBasicLinkedService = "Presto" - // TypeQuickBooks ... - TypeQuickBooks TypeBasicLinkedService = "QuickBooks" - // TypeResponsys ... - TypeResponsys TypeBasicLinkedService = "Responsys" - // TypeSalesforce ... - TypeSalesforce TypeBasicLinkedService = "Salesforce" - // TypeSalesforceMarketingCloud ... - TypeSalesforceMarketingCloud TypeBasicLinkedService = "SalesforceMarketingCloud" - // TypeSapBW ... - TypeSapBW TypeBasicLinkedService = "SapBW" - // TypeSapCloudForCustomer ... - TypeSapCloudForCustomer TypeBasicLinkedService = "SapCloudForCustomer" - // TypeSapEcc ... - TypeSapEcc TypeBasicLinkedService = "SapEcc" - // TypeSapHana ... - TypeSapHana TypeBasicLinkedService = "SapHana" - // TypeServiceNow ... - TypeServiceNow TypeBasicLinkedService = "ServiceNow" - // TypeSftp ... - TypeSftp TypeBasicLinkedService = "Sftp" - // TypeShopify ... - TypeShopify TypeBasicLinkedService = "Shopify" - // TypeSpark ... - TypeSpark TypeBasicLinkedService = "Spark" - // TypeSQLServer ... - TypeSQLServer TypeBasicLinkedService = "SqlServer" - // TypeSquare ... - TypeSquare TypeBasicLinkedService = "Square" - // TypeSybase ... - TypeSybase TypeBasicLinkedService = "Sybase" - // TypeTeradata ... - TypeTeradata TypeBasicLinkedService = "Teradata" - // TypeVertica ... - TypeVertica TypeBasicLinkedService = "Vertica" - // TypeWeb ... - TypeWeb TypeBasicLinkedService = "Web" - // TypeXero ... - TypeXero TypeBasicLinkedService = "Xero" - // TypeZoho ... - TypeZoho TypeBasicLinkedService = "Zoho" -) - -// PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type. -func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { - return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureDatabricks, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureStorage, TypeCassandra, TypeConcur, TypeCosmosDb, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMongoDb, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOracle, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} -} - -// TypeBasicTrigger enumerates the values for type basic trigger. -type TypeBasicTrigger string - -const ( - // TypeBlobEventsTrigger ... - TypeBlobEventsTrigger TypeBasicTrigger = "BlobEventsTrigger" - // TypeBlobTrigger ... - TypeBlobTrigger TypeBasicTrigger = "BlobTrigger" - // TypeMultiplePipelineTrigger ... - TypeMultiplePipelineTrigger TypeBasicTrigger = "MultiplePipelineTrigger" - // TypeScheduleTrigger ... - TypeScheduleTrigger TypeBasicTrigger = "ScheduleTrigger" - // TypeTrigger ... - TypeTrigger TypeBasicTrigger = "Trigger" - // TypeTumblingWindowTrigger ... - TypeTumblingWindowTrigger TypeBasicTrigger = "TumblingWindowTrigger" -) - -// PossibleTypeBasicTriggerValues returns an array of possible values for the TypeBasicTrigger const type. -func PossibleTypeBasicTriggerValues() []TypeBasicTrigger { - return []TypeBasicTrigger{TypeBlobEventsTrigger, TypeBlobTrigger, TypeMultiplePipelineTrigger, TypeScheduleTrigger, TypeTrigger, TypeTumblingWindowTrigger} -} - -// WebActivityMethod enumerates the values for web activity method. -type WebActivityMethod string - -const ( - // DELETE ... - DELETE WebActivityMethod = "DELETE" - // GET ... - GET WebActivityMethod = "GET" - // POST ... - POST WebActivityMethod = "POST" - // PUT ... - PUT WebActivityMethod = "PUT" -) - -// PossibleWebActivityMethodValues returns an array of possible values for the WebActivityMethod const type. -func PossibleWebActivityMethodValues() []WebActivityMethod { - return []WebActivityMethod{DELETE, GET, POST, PUT} -} - // BasicActivity a pipeline activity. type BasicActivity interface { AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) @@ -2355,10 +861,15 @@ func (arlr ActivityRunsListResponse) IsEmpty() bool { return arlr.Value == nil || len(*arlr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (arlr ActivityRunsListResponse) hasNextLink() bool { + return arlr.NextLink != nil && len(*arlr.NextLink) != 0 +} + // activityRunsListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (arlr ActivityRunsListResponse) activityRunsListResponsePreparer(ctx context.Context) (*http.Request, error) { - if arlr.NextLink == nil || len(to.String(arlr.NextLink)) < 1 { + if !arlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -2386,11 +897,16 @@ func (page *ActivityRunsListResponsePage) NextWithContext(ctx context.Context) ( tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.arlr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.arlr) + if err != nil { + return err + } + page.arlr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.arlr = next return nil } @@ -29144,10 +27660,15 @@ func (dlr DatasetListResponse) IsEmpty() bool { return dlr.Value == nil || len(*dlr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (dlr DatasetListResponse) hasNextLink() bool { + return dlr.NextLink != nil && len(*dlr.NextLink) != 0 +} + // datasetListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (dlr DatasetListResponse) datasetListResponsePreparer(ctx context.Context) (*http.Request, error) { - if dlr.NextLink == nil || len(to.String(dlr.NextLink)) < 1 { + if !dlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -29175,11 +27696,16 @@ func (page *DatasetListResponsePage) NextWithContext(ctx context.Context) (err e tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.dlr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.dlr) + if err != nil { + return err + } + page.dlr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.dlr = next return nil } @@ -29253,6 +27779,13 @@ type DatasetResource struct { Etag *string `json:"etag,omitempty"` } +// MarshalJSON is the custom marshaler for DatasetResource. +func (dr DatasetResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["properties"] = dr.Properties + return json.Marshal(objectMap) +} + // UnmarshalJSON is the custom unmarshaler for DatasetResource struct. func (dr *DatasetResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -36568,6 +35101,15 @@ type FactoryIdentity struct { TenantID *uuid.UUID `json:"tenantId,omitempty"` } +// MarshalJSON is the custom marshaler for FactoryIdentity. +func (fi FactoryIdentity) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fi.Type != nil { + objectMap["type"] = fi.Type + } + return json.Marshal(objectMap) +} + // FactoryListResponse a list of factory resources. type FactoryListResponse struct { autorest.Response `json:"-"` @@ -36645,10 +35187,15 @@ func (flr FactoryListResponse) IsEmpty() bool { return flr.Value == nil || len(*flr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (flr FactoryListResponse) hasNextLink() bool { + return flr.NextLink != nil && len(*flr.NextLink) != 0 +} + // factoryListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (flr FactoryListResponse) factoryListResponsePreparer(ctx context.Context) (*http.Request, error) { - if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 { + if !flr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -36676,11 +35223,16 @@ func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err e tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.flr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.flr) + if err != nil { + return err + } + page.flr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.flr = next return nil } @@ -36726,6 +35278,15 @@ type FactoryProperties struct { VstsConfiguration *FactoryVSTSConfiguration `json:"vstsConfiguration,omitempty"` } +// MarshalJSON is the custom marshaler for FactoryProperties. +func (fp FactoryProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fp.VstsConfiguration != nil { + objectMap["vstsConfiguration"] = fp.VstsConfiguration + } + return json.Marshal(objectMap) +} + // FactoryRepoUpdate factory's VSTS repo information. type FactoryRepoUpdate struct { // FactoryResourceID - The factory resource id. @@ -52124,9 +50685,8 @@ func (hs *HubspotSource) UnmarshalJSON(body []byte) error { return nil } -// IfConditionActivity this activity evaluates a boolean expression and executes either the activities -// under the ifTrueActivities property or the ifFalseActivities property depending on the result of the -// expression. +// IfConditionActivity this activity evaluates a boolean expression and executes either the activities under +// the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression. type IfConditionActivity struct { // IfConditionActivityTypeProperties - IfCondition activity properties. *IfConditionActivityTypeProperties `json:"typeProperties,omitempty"` @@ -54214,8 +52774,8 @@ type IntegrationRuntimeListResponse struct { NextLink *string `json:"nextLink,omitempty"` } -// IntegrationRuntimeListResponseIterator provides access to a complete listing of -// IntegrationRuntimeResource values. +// IntegrationRuntimeListResponseIterator provides access to a complete listing of IntegrationRuntimeResource +// values. type IntegrationRuntimeListResponseIterator struct { i int page IntegrationRuntimeListResponsePage @@ -54283,10 +52843,15 @@ func (irlr IntegrationRuntimeListResponse) IsEmpty() bool { return irlr.Value == nil || len(*irlr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (irlr IntegrationRuntimeListResponse) hasNextLink() bool { + return irlr.NextLink != nil && len(*irlr.NextLink) != 0 +} + // integrationRuntimeListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (irlr IntegrationRuntimeListResponse) integrationRuntimeListResponsePreparer(ctx context.Context) (*http.Request, error) { - if irlr.NextLink == nil || len(to.String(irlr.NextLink)) < 1 { + if !irlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -54314,11 +52879,16 @@ func (page *IntegrationRuntimeListResponsePage) NextWithContext(ctx context.Cont tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.irlr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.irlr) + if err != nil { + return err + } + page.irlr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.irlr = next return nil } @@ -54368,6 +52938,12 @@ type IntegrationRuntimeNodeIPAddress struct { IPAddress *string `json:"ipAddress,omitempty"` } +// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeIPAddress. +func (irnia IntegrationRuntimeNodeIPAddress) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node. type IntegrationRuntimeNodeMonitoringData struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -54600,6 +53176,13 @@ type IntegrationRuntimeResource struct { Etag *string `json:"etag,omitempty"` } +// MarshalJSON is the custom marshaler for IntegrationRuntimeResource. +func (irr IntegrationRuntimeResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["properties"] = irr.Properties + return json.Marshal(objectMap) +} + // UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct. func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -54869,8 +53452,8 @@ func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type IntegrationRuntimesStartFuture struct { azure.Future } @@ -55085,6 +53668,13 @@ type IntegrationRuntimeStatusResponse struct { Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"` } +// MarshalJSON is the custom marshaler for IntegrationRuntimeStatusResponse. +func (irsr IntegrationRuntimeStatusResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["properties"] = irsr.Properties + return json.Marshal(objectMap) +} + // UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct. func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -56745,6 +55335,12 @@ type LinkedIntegrationRuntime struct { CreateTime *date.Time `json:"createTime,omitempty"` } +// MarshalJSON is the custom marshaler for LinkedIntegrationRuntime. +func (lir LinkedIntegrationRuntime) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // LinkedIntegrationRuntimeKey the base definition of a secret type. type LinkedIntegrationRuntimeKey struct { // Key - Type of the secret. @@ -57879,10 +56475,15 @@ func (lslr LinkedServiceListResponse) IsEmpty() bool { return lslr.Value == nil || len(*lslr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (lslr LinkedServiceListResponse) hasNextLink() bool { + return lslr.NextLink != nil && len(*lslr.NextLink) != 0 +} + // linkedServiceListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (lslr LinkedServiceListResponse) linkedServiceListResponsePreparer(ctx context.Context) (*http.Request, error) { - if lslr.NextLink == nil || len(to.String(lslr.NextLink)) < 1 { + if !lslr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -57910,11 +56511,16 @@ func (page *LinkedServiceListResponsePage) NextWithContext(ctx context.Context) tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.lslr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.lslr) + if err != nil { + return err + } + page.lslr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.lslr = next return nil } @@ -57988,6 +56594,13 @@ type LinkedServiceResource struct { Etag *string `json:"etag,omitempty"` } +// MarshalJSON is the custom marshaler for LinkedServiceResource. +func (lsr LinkedServiceResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["properties"] = lsr.Properties + return json.Marshal(objectMap) +} + // UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct. func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -59840,6 +58453,12 @@ type ManagedIntegrationRuntimeError struct { Message *string `json:"message,omitempty"` } +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeError. +func (mire ManagedIntegrationRuntimeError) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // ManagedIntegrationRuntimeNode properties of integration runtime node. type ManagedIntegrationRuntimeNode struct { // NodeID - READ-ONLY; The managed integration runtime node id. @@ -59850,6 +58469,15 @@ type ManagedIntegrationRuntimeNode struct { Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"` } +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeNode. +func (mirn ManagedIntegrationRuntimeNode) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if mirn.Errors != nil { + objectMap["errors"] = mirn.Errors + } + return json.Marshal(objectMap) +} + // ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result. type ManagedIntegrationRuntimeOperationResult struct { // Type - READ-ONLY; The operation type. Could be start or stop. @@ -59866,6 +58494,12 @@ type ManagedIntegrationRuntimeOperationResult struct { ActivityID *string `json:"activityId,omitempty"` } +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeOperationResult. +func (miror ManagedIntegrationRuntimeOperationResult) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // ManagedIntegrationRuntimeStatus managed integration runtime status. type ManagedIntegrationRuntimeStatus struct { // ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties. @@ -59991,6 +58625,12 @@ type ManagedIntegrationRuntimeStatusTypeProperties struct { LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"` } +// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatusTypeProperties. +func (mirstp ManagedIntegrationRuntimeStatusTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties. type ManagedIntegrationRuntimeTypeProperties struct { // ComputeProperties - The compute resource for managed integration runtime. @@ -72538,10 +71178,15 @@ func (plr PipelineListResponse) IsEmpty() bool { return plr.Value == nil || len(*plr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (plr PipelineListResponse) hasNextLink() bool { + return plr.NextLink != nil && len(*plr.NextLink) != 0 +} + // pipelineListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (plr PipelineListResponse) pipelineListResponsePreparer(ctx context.Context) (*http.Request, error) { - if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 { + if !plr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -72569,11 +71214,16 @@ func (page *PipelineListResponsePage) NextWithContext(ctx context.Context) (err tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.plr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.plr) + if err != nil { + return err + } + page.plr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.plr = next return nil } @@ -72893,6 +71543,12 @@ type PipelineRunInvokedBy struct { ID *string `json:"id,omitempty"` } +// MarshalJSON is the custom marshaler for PipelineRunInvokedBy. +func (prib PipelineRunInvokedBy) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // PipelineRunQueryFilter query filter option for listing pipeline runs. type PipelineRunQueryFilter struct { // Operand - Parameter name to be used for filter. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd' @@ -76570,8 +75226,8 @@ func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error { } // RedshiftUnloadSettings the Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon -// Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and -// then copied into the targeted sink from the interim S3. +// Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then +// copied into the targeted sink from the interim S3. type RedshiftUnloadSettings struct { // S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"` @@ -79783,8 +78439,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e return nil } -// SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service -// properties. +// SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service properties. type SalesforceMarketingCloudLinkedServiceTypeProperties struct { // ClientID - The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). ClientID interface{} `json:"clientId,omitempty"` @@ -83195,8 +81850,7 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err return nil } -// SapCloudForCustomerResourceDatasetTypeProperties sap Cloud For Customer OData resource dataset -// properties. +// SapCloudForCustomerResourceDatasetTypeProperties sap Cloud For Customer OData resource dataset properties. type SapCloudForCustomerResourceDatasetTypeProperties struct { // Path - The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). Path interface{} `json:"path,omitempty"` @@ -86024,8 +84678,8 @@ func (sb SecretBase) AsBasicSecretBase() (BasicSecretBase, bool) { return &sb, true } -// SecureString azure Data Factory secure string definition. The string value will be masked with asterisks -// '*' during Get or List API calls. +// SecureString azure Data Factory secure string definition. The string value will be masked with asterisks '*' +// during Get or List API calls. type SecureString struct { // Value - Value of secure string. Value *string `json:"value,omitempty"` @@ -95380,6 +94034,12 @@ type SubResource struct { Etag *string `json:"etag,omitempty"` } +// MarshalJSON is the custom marshaler for SubResource. +func (sr SubResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + return json.Marshal(objectMap) +} + // SybaseLinkedService linked service for Sybase data source. type SybaseLinkedService struct { // SybaseLinkedServiceTypeProperties - Sybase linked service properties. @@ -97031,10 +95691,15 @@ func (tlr TriggerListResponse) IsEmpty() bool { return tlr.Value == nil || len(*tlr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (tlr TriggerListResponse) hasNextLink() bool { + return tlr.NextLink != nil && len(*tlr.NextLink) != 0 +} + // triggerListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (tlr TriggerListResponse) triggerListResponsePreparer(ctx context.Context) (*http.Request, error) { - if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 { + if !tlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -97062,11 +95727,16 @@ func (page *TriggerListResponsePage) NextWithContext(ctx context.Context) (err e tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.tlr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.tlr) + if err != nil { + return err + } + page.tlr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.tlr = next return nil } @@ -97135,6 +95805,13 @@ type TriggerResource struct { Etag *string `json:"etag,omitempty"` } +// MarshalJSON is the custom marshaler for TriggerResource. +func (tr TriggerResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["properties"] = tr.Properties + return json.Marshal(objectMap) +} + // UnmarshalJSON is the custom unmarshaler for TriggerResource struct. func (tr *TriggerResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -97401,10 +96078,15 @@ func (trlr TriggerRunListResponse) IsEmpty() bool { return trlr.Value == nil || len(*trlr.Value) == 0 } +// hasNextLink returns true if the NextLink is not empty. +func (trlr TriggerRunListResponse) hasNextLink() bool { + return trlr.NextLink != nil && len(*trlr.NextLink) != 0 +} + // triggerRunListResponsePreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (trlr TriggerRunListResponse) triggerRunListResponsePreparer(ctx context.Context) (*http.Request, error) { - if trlr.NextLink == nil || len(to.String(trlr.NextLink)) < 1 { + if !trlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), @@ -97432,11 +96114,16 @@ func (page *TriggerRunListResponsePage) NextWithContext(ctx context.Context) (er tracing.EndSpan(ctx, sc, err) }() } - next, err := page.fn(ctx, page.trlr) - if err != nil { - return err + for { + next, err := page.fn(ctx, page.trlr) + if err != nil { + return err + } + page.trlr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } } - page.trlr = next return nil } @@ -97470,8 +96157,7 @@ func NewTriggerRunListResponsePage(getNextPage func(context.Context, TriggerRunL return TriggerRunListResponsePage{fn: getNextPage} } -// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation. type TriggersStartFuture struct { azure.Future } @@ -97515,8 +96201,8 @@ func (future *TriggersStopFuture) Result(client TriggersClient) (ar autorest.Res return } -// TumblingWindowTrigger trigger that schedules pipeline runs for all fixed time interval windows from a -// start time without gaps and also supports backfill scenarios (when start time is in the past). +// TumblingWindowTrigger trigger that schedules pipeline runs for all fixed time interval windows from a start +// time without gaps and also supports backfill scenarios (when start time is in the past). type TumblingWindowTrigger struct { // Pipeline - Pipeline for which runs are created when an event is fired for trigger window that is ready. Pipeline *TriggerPipelineReference `json:"pipeline,omitempty"` @@ -97684,8 +96370,8 @@ type TumblingWindowTriggerTypeProperties struct { RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"` } -// UntilActivity this activity executes inner activities until the specified boolean expression results to -// true or timeout is reached, whichever is earlier. +// UntilActivity this activity executes inner activities until the specified boolean expression results to true +// or timeout is reached, whichever is earlier. type UntilActivity struct { // UntilActivityTypeProperties - Until activity properties. *UntilActivityTypeProperties `json:"typeProperties,omitempty"` @@ -99831,8 +98517,8 @@ type WebActivityTypeProperties struct { LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"` } -// WebAnonymousAuthentication a WebLinkedService that uses anonymous authentication to communicate with an -// HTTP endpoint. +// WebAnonymousAuthentication a WebLinkedService that uses anonymous authentication to communicate with an HTTP +// endpoint. type WebAnonymousAuthentication struct { // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). URL interface{} `json:"url,omitempty"` @@ -99983,9 +98669,9 @@ func (wba *WebBasicAuthentication) UnmarshalJSON(body []byte) error { return nil } -// WebClientCertificateAuthentication a WebLinkedService that uses client certificate based authentication -// to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also -// provide valid credentials to the client. +// WebClientCertificateAuthentication a WebLinkedService that uses client certificate based authentication to +// communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide +// valid credentials to the client. type WebClientCertificateAuthentication struct { // Pfx - Base64-encoded contents of a PFX file. Pfx BasicSecretBase `json:"pfx,omitempty"` diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go index 0e23042c91eb..fea7a0c7133f 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/operations.go @@ -101,7 +101,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go index 9d2af399c8f8..6753ad47efdb 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelineruns.go @@ -125,7 +125,6 @@ func (client PipelineRunsClient) GetSender(req *http.Request) (*http.Response, e func (client PipelineRunsClient) GetResponder(resp *http.Response) (result PipelineRun, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -219,7 +218,6 @@ func (client PipelineRunsClient) QueryByFactorySender(req *http.Request) (*http. func (client PipelineRunsClient) QueryByFactoryResponder(resp *http.Response) (result PipelineRunQueryResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go index b2699f03dd09..1c53c87ab4d7 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/pipelines.go @@ -143,7 +143,6 @@ func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Res func (client PipelinesClient) CreateOrUpdateResponder(resp *http.Response) (result PipelineResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -243,7 +242,6 @@ func (client PipelinesClient) CreateRunSender(req *http.Request) (*http.Response func (client PipelinesClient) CreateRunResponder(resp *http.Response) (result CreateRunResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -337,7 +335,6 @@ func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, e func (client PipelinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -430,7 +427,6 @@ func (client PipelinesClient) GetSender(req *http.Request) (*http.Response, erro func (client PipelinesClient) GetResponder(resp *http.Response) (result PipelineResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -483,6 +479,9 @@ func (client PipelinesClient) ListByFactory(ctx context.Context, resourceGroupNa if err != nil { err = autorest.NewErrorWithError(err, "datafactory.PipelinesClient", "ListByFactory", resp, "Failure responding to request") } + if result.plr.hasNextLink() && result.plr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -519,7 +518,6 @@ func (client PipelinesClient) ListByFactorySender(req *http.Request) (*http.Resp func (client PipelinesClient) ListByFactoryResponder(resp *http.Response) (result PipelineListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go index 90a3ee4f3b95..2251506846b3 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/triggers.go @@ -141,7 +141,6 @@ func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (*http.Resp func (client TriggersClient) CreateOrUpdateResponder(resp *http.Response) (result TriggerResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -235,7 +234,6 @@ func (client TriggersClient) DeleteSender(req *http.Request) (*http.Response, er func (client TriggersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -328,7 +326,6 @@ func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error func (client TriggersClient) GetResponder(resp *http.Response) (result TriggerResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -381,6 +378,9 @@ func (client TriggersClient) ListByFactory(ctx context.Context, resourceGroupNam if err != nil { err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "ListByFactory", resp, "Failure responding to request") } + if result.tlr.hasNextLink() && result.tlr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -417,7 +417,6 @@ func (client TriggersClient) ListByFactorySender(req *http.Request) (*http.Respo func (client TriggersClient) ListByFactoryResponder(resp *http.Response) (result TriggerListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -514,6 +513,9 @@ func (client TriggersClient) ListRuns(ctx context.Context, resourceGroupName str if err != nil { err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "ListRuns", resp, "Failure responding to request") } + if result.trlr.hasNextLink() && result.trlr.IsEmpty() { + err = result.NextWithContext(ctx) + } return } @@ -553,7 +555,6 @@ func (client TriggersClient) ListRunsSender(req *http.Request) (*http.Response, func (client TriggersClient) ListRunsResponder(resp *http.Response) (result TriggerRunListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -684,7 +685,6 @@ func (client TriggersClient) StartSender(req *http.Request) (future TriggersStar func (client TriggersClient) StartResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -777,7 +777,6 @@ func (client TriggersClient) StopSender(req *http.Request) (future TriggersStopF func (client TriggersClient) StopResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp diff --git a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/version.go b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/version.go index 13ce2e7bc0d7..d6069ac1d656 100644 --- a/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/version.go +++ b/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " datafactory/2017-09-01-preview" + return "Azure-SDK-For-Go/" + Version() + " datafactory/2017-09-01-preview" } // Version returns the semantic version (see http://semver.org) of the client.